Steps to reproduce :
- Go to quality gate page
- Select a non-default quality gate
- Open dev tools and check xhr
- When "With" is selected in the interface, the http parameters is "selected=selected"
- Start a text search by typing in the search field
- Delete the search by clicking on the cross and look at the next request : "With" is still selected in the interface but the call has been made with a parameter "selected=all", which leads to inconsistent results in some cases.