Skip to content

Commit 98fce68

Browse files
authored
Merge pull request #82 from FishingHacks/widget-filters
Fixed widget filters not correctly filtering out elements
2 parents f6f5278 + 2124921 commit 98fce68

File tree

1 file changed

+1
-1
lines changed
  • anathema-widgets/src/query

1 file changed

+1
-1
lines changed

anathema-widgets/src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ where
163163
type Kind = A::Kind;
164164

165165
fn filter(&self, arg: &Self::Kind, attributes: &mut AttributeStorage<'bp>) -> bool {
166-
self.a.filter(arg, attributes) | self.b.filter(arg, attributes)
166+
self.a.filter(arg, attributes) && self.b.filter(arg, attributes)
167167
}
168168
}
169169

0 commit comments

Comments
 (0)