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
fa2e074b
Commit
fa2e074b
authored
Mar 10, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed drilldown link issue, Fixes #1579
parent
e75acce6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/app/features/panellinkeditor/linkSrv.js
+1
-1
src/app/features/panellinkeditor/module.js
+4
-5
No files found.
src/app/features/panellinkeditor/linkSrv.js
View file @
fa2e074b
...
...
@@ -21,7 +21,7 @@ function (angular, kbn) {
else
{
info
.
title
=
templateSrv
.
replace
(
link
.
title
||
''
);
var
slug
=
kbn
.
slugifyForUrl
(
link
.
dashboard
||
''
);
info
.
href
=
'
#
dashboard/db/'
+
slug
+
'?'
;
info
.
href
=
'dashboard/db/'
+
slug
+
'?'
;
}
var
range
=
timeSrv
.
timeRangeForUrl
();
...
...
src/app/features/panellinkeditor/module.js
View file @
fa2e074b
...
...
@@ -19,7 +19,7 @@ function (angular, _) {
link
:
function
()
{
}
};
}).
controller
(
'PanelLinkEditorCtrl'
,
function
(
$scope
,
datasource
Srv
)
{
}).
controller
(
'PanelLinkEditorCtrl'
,
function
(
$scope
,
backend
Srv
)
{
$scope
.
panel
.
links
=
$scope
.
panel
.
links
||
[];
...
...
@@ -30,11 +30,10 @@ function (angular, _) {
});
};
$scope
.
searchDashboards
=
function
(
query
,
callback
)
{
var
ds
=
datasourceSrv
.
getGrafanaDB
();
if
(
ds
===
null
)
{
return
;
}
$scope
.
searchDashboards
=
function
(
queryStr
,
callback
)
{
var
query
=
{
query
:
queryStr
};
ds
.
searchDashboards
(
query
).
then
(
function
(
result
)
{
backendSrv
.
search
(
query
).
then
(
function
(
result
)
{
var
dashboards
=
_
.
map
(
result
.
dashboards
,
function
(
dash
)
{
return
dash
.
title
;
});
...
...
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