Skip to content
Snippets Groups Projects
Commit 0a84ca9e authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

Set query to * if '' and search export.

Cf. #22310
parent 6933a3a4
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ public boolean hasNext() { ...@@ -63,7 +63,7 @@ public boolean hasNext() {
protected SearchResultList(final SearchClient client, final String query, final String target, List<String> filter, boolean sandbox) { protected SearchResultList(final SearchClient client, final String query, final String target, List<String> filter, boolean sandbox) {
this.searchClient = client; this.searchClient = client;
this.query = query; this.query = query == null || "".equals(query)? "*" : query;
this.filter = filter; this.filter = filter;
client.setTarget(target); client.setTarget(target);
client.setSandbox(sandbox); client.setSandbox(sandbox);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment