Skip to content

Commit

Permalink
[6.8] Limit fetching index patterns (#56603) (#56840)
Browse files Browse the repository at this point in the history
Should address #56352.
  • Loading branch information
Dosant authored Feb 6, 2020
1 parent 815d9e3 commit 5aeb484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/index_patterns/_get.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function IndexPatternsGetProvider(Private) {

const promise = savedObjectsClient.find({
type: 'index-pattern',
fields: [],
fields: ['title'],
perPage: 10000
}).then(resp => {
return resp.savedObjects.map(obj => _.get(obj, field));
Expand Down

0 comments on commit 5aeb484

Please sign in to comment.