Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kwahlin committed Dec 18, 2024
1 parent 30390c2 commit 94c12e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/src/main/groovy/whelk/rest/api/SearchUtils2.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Map<String, Object> doSearch(Map<String, String[]> queryParameters) throws Inval

Map<String, Object> partialCollectionView = getPartialCollectionView(queryRes, qTree, queryParams, appParams);

if (!queryParams.debug.contains(QueryParams.Debug.ES_QUERY)) {
if (queryParams.debug.contains(QueryParams.Debug.ES_QUERY)) {
partialCollectionView.put(QueryParams.ApiParams.DEBUG, Map.of(QueryParams.Debug.ES_QUERY, esQueryDsl));
}

Expand Down

0 comments on commit 94c12e2

Please sign in to comment.