Skip to content

Commit

Permalink
[cuebot] Fix HostSearch substring for loose search. (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
roulaoregan-spi committed Jan 17, 2022
1 parent 9e03b95 commit 6a91e73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void filterByAlloc(AllocationInterface alloc) {
public void buildWhereClause() {
addPhrase("host.pk_host", criteria.getIdsList());
addPhrase("host.str_name", criteria.getHostsList());
addPhrase("host.str_name", new HashSet<>(criteria.getSubstrList()));
addLikePhrase("host.str_name", new HashSet<>(criteria.getSubstrList()));
addRegexPhrase("host.str_name", new HashSet<>(criteria.getRegexList()));
addPhrase("alloc.str_name", criteria.getAllocsList());
Set<String> items = new HashSet<>(criteria.getStates().getStateCount());
Expand Down

0 comments on commit 6a91e73

Please sign in to comment.