When user is using double quotes to search, dont allow free text search
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
After merging in !75948 (merged)
We realized that when you are searching for a token value, for example "My milestone" using the double quote search, and you do not select an item from the dropdown, it tries to search the token ie Iteration, Epic, etc by the value. In this case that would be My milestone and the URL params for Iteration would look something like the following:
- iteration_id=My+milestone
which is something we do not want.
Repro
- rails c
- Feature.enable(:issue_boards_filtered_search)
- Go to an issue board
- search for an iteration using
"...Iteration:="My iteration"` - hit enter
Proposed solution
The proposed solution is to disallow a user from searching if they have not selected an item in the dropdown.
Edited by 🤖 GitLab Bot 🤖
