Commit 16ad0f65 by Torkel Ödegaard

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

parent cbeefcd3
......@@ -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',
......
......@@ -31,7 +31,7 @@
"folderId": 0,
"headings": true,
"id": 3,
"limit": 4,
"limit": 30,
"links": [],
"query": "",
"recent": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment