0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00

Shift to AND operation for multiple tags

This commit is contained in:
G.Ambatte
2023-12-03 12:48:20 +13:00
parent 6dcc6d36b7
commit 041c7ed48f

View File

@@ -218,7 +218,7 @@ const ListPage = createClass({
if(this.state.filterTags.length > 0) {
brews = _.filter(brews, (brew)=>{
return this.state.filterTags.some((tag)=>{
return this.state.filterTags.every((tag)=>{
return brew.tags?.includes(tag);
});
});