From 773a2c26f5530bebe0a9f433084cb06f92fc23c0 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Wed, 25 Nov 2020 13:55:00 -0700 Subject: [PATCH] keep original search implemenation --- .../data/common/index_patterns/index_patterns/index_patterns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts index 4a266b3cad649..c2cf4a988ecce 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts @@ -139,7 +139,7 @@ export class IndexPatternsService { const savedObjects = await this.savedObjectsClient.find({ type: 'index-pattern', fields: ['title'], - search, + search: `${search}*`, searchFields: ['title'], perPage: size, });