Increase recent and starred limit in search and home dashboard, closes #13950

This commit is contained in:
Torkel Ödegaard 2018-12-19 11:40:38 +01:00
parent cbeefcd376
commit 16ad0f65ea
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export class SearchSrv {
}
private queryForRecentDashboards() {
const dashIds = _.take(impressionSrv.getDashboardOpened(), 5);
const dashIds = _.take(impressionSrv.getDashboardOpened(), 30);
if (dashIds.length === 0) {
return Promise.resolve([]);
}
@ -70,7 +70,7 @@ export class SearchSrv {
return Promise.resolve();
}
return this.backendSrv.search({ starred: true, limit: 5 }).then(result => {
return this.backendSrv.search({ starred: true, limit: 30 }).then(result => {
if (result.length > 0) {
sections['starred'] = {
title: 'Starred',

View File

@ -31,7 +31,7 @@
"folderId": 0,
"headings": true,
"id": 3,
"limit": 4,
"limit": 30,
"links": [],
"query": "",
"recent": true,