Fix checkbox to url mapping
requested to merge 413237-add-a-visual-toggle-for-including-archived-projects-in-search-results-2 into master
What does this MR do and why?
Making the mechanism to map, URL param include_archived=
to check box, more robust.
Screenshots or screen recordings
before and after |
---|
Technical depth no visual change
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- This MR requires advanced search to be configured and enabled.
- Enable including archived projects FF
echo 'Feature.enable(:search_projects_hide_archived)' | rails c
- Visit the following search page
http://gdk.test:3000/search?scope=projects&search=*
- Toggle the "Include archived" checkbox
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #413237 (closed)
Edited by Tomas Bulva