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
2d6b33ab
Commit
2d6b33ab
authored
Apr 24, 2019
by
Tom Petr
Committed by
Marcus Efraimsson
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sqlstore: use column name in order by (#16583)
Use column name in ORDER BY in GetDashboardAclInfoList().
parent
1e98c102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
pkg/services/sqlstore/dashboard_acl.go
+1
-1
No files found.
pkg/services/sqlstore/dashboard_acl.go
View file @
2d6b33ab
...
...
@@ -112,7 +112,7 @@ func GetDashboardAclInfoList(query *m.GetDashboardAclInfoListQuery) error {
LEFT JOIN `
+
dialect
.
Quote
(
"user"
)
+
` AS u ON u.id = da.user_id
LEFT JOIN team ug on ug.id = da.team_id
WHERE d.org_id = ? AND d.id = ? AND da.id IS NOT NULL
ORDER BY
1
ASC
ORDER BY
da.id
ASC
`
query
.
Result
=
make
([]
*
m
.
DashboardAclInfoDTO
,
0
)
...
...
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