Skip to content

Commit

Permalink
fixed bug, query must to be empty not null
Browse files Browse the repository at this point in the history
  • Loading branch information
Micheleboychuk committed Apr 23, 2020
1 parent a20360e commit 63e0f2f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public Page<AuthorityEntryRest> query(@Nullable HttpServletRequest request, Stri
@Nullable Pageable optionalPageable, Projection projection) {
Context context = obtainContext();
String query = request == null ? null : request.getParameter("query");
if (query == null) {
query = "";
}
String metadata = request == null ? null : request.getParameter("metadata");
String uuidCollectìon = request == null ? null : request.getParameter("uuid");
Collection collection = null;
Expand Down

0 comments on commit 63e0f2f

Please sign in to comment.