Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DARIAH-DE
TextGridRep Portal
Commits
5a25afc4
Commit
5a25afc4
authored
Jun 17, 2020
by
Ubbo Veentjer
Browse files
return everything on empty query. fixes
#33
parent
3b549f5f
Pipeline
#140199
passed with stages
in 9 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/info/textgrid/rep/service/TgsearchClientService.java
View file @
5a25afc4
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment