diff --git a/src/main/java/org/folio/service/titles/TitlesService.java b/src/main/java/org/folio/service/titles/TitlesService.java index 52b7f3be5..97f32c40f 100644 --- a/src/main/java/org/folio/service/titles/TitlesService.java +++ b/src/main/java/org/folio/service/titles/TitlesService.java @@ -13,6 +13,7 @@ import java.util.Map; import java.util.function.Function; +import org.apache.commons.lang3.StringUtils; import org.folio.orders.utils.HelperUtils; import org.folio.rest.core.RestClient; import org.folio.rest.core.models.RequestContext; @@ -52,7 +53,7 @@ public Future createTitle(Title title, RequestContext requestContext) { } public Future<TitleCollection> getTitles(int limit, int offset, String query, RequestContext requestContext) { - return acquisitionsUnitsService.buildAcqUnitsCqlExprToSearchRecords("purchaseOrder.", requestContext) + return acquisitionsUnitsService.buildAcqUnitsCqlExprToSearchRecords(StringUtils.EMPTY, requestContext) .compose(acqUnitsCqlExpr -> { String resultQuery = acqUnitsCqlExpr; if (!isEmpty(query)) {