mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
Increase recent and starred limit in search and home dashboard, closes #13950
This commit is contained in:
parent
cbeefcd376
commit
16ad0f65ea
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user