Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Apicurio/apicurio-registry
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Feb 1, 2022
2 parents 6f41b8c + 7e66e95 commit 77fbba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1081,12 +1081,12 @@ public ArtifactSearchResultsDto searchArtifacts(Set<SearchFilter> filters, Order
Pair<String, String> property = filter.getPropertyFilterValue();
// Note: convert search to lowercase when searching for properties (case-insensitivity support).
String propKey = property.getKey().toLowerCase();
String propValue = property.getValue().toLowerCase();
where.append("EXISTS(SELECT p.globalId FROM properties p WHERE p.pkey = ? ");
binders.add((query, idx) -> {
query.bind(idx, propKey);
});
if (propValue != null) {
if (property.getValue() != null) {
String propValue = property.getValue().toLowerCase();
where.append("AND p.pvalue = ? ");
binders.add((query, idx) -> {
query.bind(idx, propValue);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<wire-compiler.version>3.7.1</wire-compiler.version>
<jimfs.version>1.1</jimfs.version>
<icu4j.version>70.1</icu4j.version>
<protobuf.version>3.19.3</protobuf.version>
<protobuf.version>3.19.4</protobuf.version>
<xmlsec.version>2.3.0</xmlsec.version>
<protobuf.googleapi.types.version>2.7.2</protobuf.googleapi.types.version>
<wsdl4j.version>1.6.3</wsdl4j.version>
Expand Down

0 comments on commit 77fbba8

Please sign in to comment.