Skip to content

Commit

Permalink
Console: properly support @SearchCondition(type="PRINTER")
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Dec 21, 2023
1 parent eec00f8 commit ca67c8a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ protected void populateItem(final ListItem<String> item) {
break;

default:
clauses.removeIf(c -> c.getType() == SearchClause.Type.CUSTOM
&& scondAnnot.type().equals(c.getProperty())
&& scondAnnot.type().equals(c.getValue()));
panel = new AnyObjectSearchPanel.Builder(
scondAnnot.type(),
new ListModel<>(clauses), pageRef).required(false).build("value");
Expand Down

0 comments on commit ca67c8a

Please sign in to comment.