@filipa i thought you meant you wanted to see both of them
Filipa Lacerdachanged title from Issues filter does not show issues although they exist to Frontend allows to filter issues by 2 milestones although it is not possible
changed title from Issues filter does not show issues although they exist to Frontend allows to filter issues by 2 milestones although it is not possible
This issue is similar to #27293 (closed): Don't allow users to search for the same filters (Eg. Multiple label filters for the same label)
This issue: Don't allow users to search for filters that have a 1:1 relationship (Eg. Milestones)
Since we are dealing with a free form input, we cannot restrict the user from inputting multiple milestones because that user interaction will be quite strange. The main thing we can do is to just not populate it in the dropdown. Wdyt @cperessini@victorwu?
Having the dropdown click back to a previous token is quite strange imo
I think it makes sense to remove the option from the dropdown if you've already entered a filter that has a 1:1 relationship. That way we don't encourage people adding conflicting filters, but I have two questions:
Is it worth it to introduce this limitation if we will have to remove it once we implement boolean operators? (you will be able to OR two milestones or two authors, for example)
Users can still enter a duplicate filter by hand, right? @ClemMakesApps could there be a way to prevent the second filter from becoming a token?
@cperessini : I think it's worth it to do it. I want to do the boolean operators soon. But it will require BE work, and so it's not guaranteed we will get that in within the next few iterations, given the limited BE resources. So it's worth it to clean up these edge cases in the interim.