Skip to content

Commit

Permalink
fix(mod-search): fix export of cql files
Browse files Browse the repository at this point in the history
- fix statement

Closes: MSEARCH-762
  • Loading branch information
viacheslavpoliakov committed Jun 10, 2024
1 parent 86264ff commit 262bc58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/folio/search/service/ResourceIdService.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ private void streamResourceIds(CqlResourceIdsRequest request, Consumer<List<Stri
isConsortium, isShared, notSharedActiveAffiliation);

var searchSource = notSharedActiveAffiliation
? queryConverter.convertForConsortia(request, false)
: queryConverter.convertForConsortia(request.getQuery(), request.getResource());
? queryConverter.convertForConsortia(request.getQuery(), request.getResource())
: queryConverter.convertForConsortia(request, false);

searchSource.size(streamIdsProperties.getScrollQuerySize())
.fetchSource(new String[] {request.getSourceFieldPath()}, null)
Expand Down

0 comments on commit 262bc58

Please sign in to comment.