Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
16ad0f65
Commit
16ad0f65
authored
Dec 19, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase recent and starred limit in search and home dashboard, closes #13950
parent
cbeefcd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/core/services/search_srv.ts
+2
-2
public/dashboards/home.json
+1
-1
No files found.
public/app/core/services/search_srv.ts
View file @
16ad0f65
...
...
@@ -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'
,
...
...
public/dashboards/home.json
View file @
16ad0f65
...
...
@@ -31,7 +31,7 @@
"folderId"
:
0
,
"headings"
:
true
,
"id"
:
3
,
"limit"
:
4
,
"limit"
:
30
,
"links"
:
[],
"query"
:
""
,
"recent"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment