Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.collapsible-sidebar {
height: inherit;
width: 220px;
position: relative;
border: 1px solid $gray-2;
border-radius: 8px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ describe('Filter Chip service', () => {
field: attribute.name,
operator: FilterOperator.NotEquals,
userString: `${attribute.displayName} ${FilterOperator.NotEquals}`
},
{
metadata: attribute,
field: attribute.name,
operator: FilterOperator.In,
userString: `${attribute.displayName} ${FilterOperator.In}`
}
]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ describe('Filter Builder Lookup service', () => {
value: false,
userString: 'Boolean Attribute != false',
urlString: 'booleanAttribute_neq_false'
},
{
metadata: getTestFilterAttribute(FilterAttributeType.Boolean),
field: getTestFilterAttribute(FilterAttributeType.Boolean).name,
operator: FilterOperator.In,
value: false,
userString: 'Boolean Attribute IN false',
urlString: 'booleanAttribute_in_false'
}
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class BooleanFilterBuilder extends AbstractFilterBuilder<boolean> {
}

public supportedTopLevelOperators(): FilterOperator[] {
return [FilterOperator.Equals, FilterOperator.NotEquals];
return [FilterOperator.Equals, FilterOperator.NotEquals, FilterOperator.In];
}

public supportedSubpathOperators(): FilterOperator[] {
Expand Down