• Jacob Schatz's avatar
    Merge branch 'search-filters-label-fix' into 'master' · 5793529a
    Jacob Schatz authored
    Fixed search dropdown labels not displaying
    
    ## What does this MR do?
    
    Returns the search controller method after finding the project & group.
    
    ## Why was this MR needed?
    
    The search controller was returning early when the search term was empty causing a bug where the dropdown toggles wouldn't show the correct text - instead defaulting to `Any`.
    
    ## Screenshots (if relevant)
    
    ![Screen_Shot_2016-09-09_at_12.09.57](/uploads/8c6bb36f4e163312314611d2877d5fa4/Screen_Shot_2016-09-09_at_12.09.57.png)
    
    ## What are the relevant issue numbers?
    
    Closes #21783
    
    See merge request !6277
    5793529a
search_spec.rb 5.6 KB