[6.1] Cannot search closed Issues
Created by: mjassar
Summary
After upgrading to version 6.1 from version 5.4, the search functionality (on issue tracker page) does not work for closed issues. Search works fine for open issues though. If you have selected 'Closed' or 'All' for issues state, the search will still look within 'Open' issues only.
Steps to reproduce:
- Go to issue tracker page of your gitlab.
- Click on 'All' or 'Closed' under issue fiter
- Search for a issue that has been closed Nothing will appear in results
Observed Behavior
Click on All under issue filter, you will see the URL something like
<url>/issues?label_name=&milestone_id=&scope=&state=All
Enter anything in the 'Filter by title or description' field, the '&state=all' disappears from the url.
In the example below i searched for the string 'someissue'.
You will see that it is searching just in open issues now as the URL does not contain '&state=all'.
If i manually append '&state=all' to the end of URL and hit return, 'someissue' appears in results.
<url>/issues?utf8=%C3%A2%C2%9C%C2%93&status=&assignee_id=&milestone_id=&label_name=&issue_search=someisuue