Skip to content

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

  1. make sure gdk is setup for elasticsearch and all data in indexed
  2. verify search without a search term: http://gdk.test:3000/search
  3. verify search with a search term for Advanced Search: http://gdk.test:3000/search?scope=blobs&search=test&project_id=6
  4. 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.

Edited by Terri Chu

Merge request reports

Loading