Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/support-4.4' into support-4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Oct 26, 2022
2 parents d290a1a + 98ef43a commit 5a3c58e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ public SearchItem addItem(ItemDefinition def) {

public boolean hasAllDefinitions(List<SearchItemDefinition> definitions) {
for (SearchItemDefinition def : definitions) {
if (def.getPath() == null && def.getPredefinedFilter() != null) {
continue;
}
boolean exists = false;
for (SearchItemDefinition existingDef : getAllDefinitions()) {
if (def.getPath() != null && existingDef.getPath() != null && QNameUtil.match(existingDef.getPath().lastName(), def.getPath().lastName())) {
Expand Down

0 comments on commit 5a3c58e

Please sign in to comment.