Refactor instance vars from SearchController
What does this MR do and why?
Related to #378012 (closed)
Move an instance variable only used in the haml to a presenter method (that already exists)
Screenshots or screen recordings
N/A
How to set up and validate locally
- make sure gdk is setup for
elasticsearch
and all data in indexed - verify search without a search term: http://gdk.test:3000/search
- verify search with a search term for Advanced Search: http://gdk.test:3000/search?scope=blobs&search=test&project_id=6
- verify search with a search term for Basic Search: http://gdk.test:3000/search?scope=blobs&search=test&project_id=6&basic_search=true
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.
Edited by Terri Chu