Skip to content
Snippets Groups Projects
Commit 6240fe24 authored by Hermann's avatar Hermann
Browse files

bugfix: only search if searchKeys are set

parent 17360226
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ export class ResourceHandler {
const fullQuery = {};
if ('search' in query && query.search && query.search.length > 0) {
if ('search' in query && query.search && query.search.length > 0 && this.searchKeys) {
// translate search into where, we just look if any field contains search
// The search-string may match any of the keys in the object specified in the
// constructor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment