We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e03b95 commit 6a91e73Copy full SHA for 6a91e73
cuebot/src/main/java/com/imageworks/spcue/dao/criteria/postgres/HostSearch.java
@@ -44,7 +44,7 @@ public void filterByAlloc(AllocationInterface alloc) {
44
public void buildWhereClause() {
45
addPhrase("host.pk_host", criteria.getIdsList());
46
addPhrase("host.str_name", criteria.getHostsList());
47
- addPhrase("host.str_name", new HashSet<>(criteria.getSubstrList()));
+ addLikePhrase("host.str_name", new HashSet<>(criteria.getSubstrList()));
48
addRegexPhrase("host.str_name", new HashSet<>(criteria.getRegexList()));
49
addPhrase("alloc.str_name", criteria.getAllocsList());
50
Set<String> items = new HashSet<>(criteria.getStates().getStateCount());
0 commit comments