Skip to content

Commit

Permalink
Allows search when no term is defined (elastic#13005)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Smalley <[email protected]>
  • Loading branch information
tylersmalley authored Jul 20, 2017
1 parent cf5a044 commit 483db04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/courier/saved_object/saved_object_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class SavedObjectLoader {
return this.savedObjectsClient.find(
{
type: this.lowercaseType,
search: `${search}*`,
search: search ? `${search}*` : undefined,
perPage: size,
page: 1,
searchFields: ['title^3', 'description']
Expand Down

0 comments on commit 483db04

Please sign in to comment.