Commit 5a25afc4 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

return everything on empty query. fixes #33

parent 3b549f5f
Pipeline #140199 passed with stages
in 9 minutes and 1 second
......@@ -49,6 +49,11 @@ public class TgsearchClientService {
String query, String order, int start, int limit,
List<String> filter, boolean sandbox) {
// when query is emtpy return everything
if(query.equals("")) {
query = "*";
}
return searchClient.searchQuery()
.setQuery(query)
.setOrder(order)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment