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 { ...@@ -31,7 +31,7 @@ export class SearchSrv {
} }
private queryForRecentDashboards() { private queryForRecentDashboards() {
const dashIds = _.take(impressionSrv.getDashboardOpened(), 5); const dashIds = _.take(impressionSrv.getDashboardOpened(), 30);
if (dashIds.length === 0) { if (dashIds.length === 0) {
return Promise.resolve([]); return Promise.resolve([]);
} }
...@@ -70,7 +70,7 @@ export class SearchSrv { ...@@ -70,7 +70,7 @@ export class SearchSrv {
return Promise.resolve(); 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) { if (result.length > 0) {
sections['starred'] = { sections['starred'] = {
title: 'Starred', title: 'Starred',
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"folderId": 0, "folderId": 0,
"headings": true, "headings": true,
"id": 3, "id": 3,
"limit": 4, "limit": 30,
"links": [], "links": [],
"query": "", "query": "",
"recent": true, "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