Filter issues by labels bug in 7.2
Created by: fonica
Probably caused by the labels rewrite. 7.1 was working as expected.
To reproduce just go to the issue list and use the label filter from the left sidebar. Add more than 1 label to the filter.
Expected behavior: I should get only the issues that have all the selected labels.
Observed behavior: I'm getting the issues that have any of the selected labels. Every time I add a new label to the filter the number of results will increase.
Old code was using the tagged_with method from the acts-as-taggable-on gem.
New code uses IN
which is basically like multiple ORs.