• Jan Provaznik's avatar
    Skip projects filter on issues search · 017c1297
    Jan Provaznik authored
    When searching for issues, an additional subquery
    is added which filters only issues in a project. If global context is
    used (no project is specified) this query filters all projects user has
    access to.
    
    In that case we can skip this filter because filtering only projects
    user has access to is added anyway.
    
    The filter is used only if a custom project context is specified
    
    Related to #40540
    017c1297
search_results_spec.rb 7.46 KB