Skip to content

Commit

Permalink
Merge pull request apache#168 from isururanawaka/mysql_conversion
Browse files Browse the repository at this point in the history
Fixing shared_by
  • Loading branch information
isururanawaka authored Sep 12, 2022
2 parents d8bd857 + a4f3032 commit d8e2050
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public void searchResource(ResourceSearchRequest
if(searchQuery.getField().equalsIgnoreCase("sharedBy")) {
SearchCriteria searchCriteria = SearchCriteria.newBuilder()
.setSearchField(EntitySearchField.SHARED_BY)
.setCondition(SearchCondition.valueOf(searchQuery.getOptions()))
.setCondition(SearchCondition.EQUAL)
.setValue(searchQuery.getValue()).build();

searchRequestBuilder = searchRequestBuilder.addSearchCriteria(searchCriteria);
Expand Down

0 comments on commit d8e2050

Please sign in to comment.