Skip to content

Commit 2124921

Browse files
committed
fixed widget filters by changing binary or to logical and
1 parent f6f5278 commit 2124921

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)