mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
WIP: rough prototype of dashboard folders
Breaks some stuff like selected dash in the search result. In dashboard search, if the user is not searching then the result is returned as a tree structure. No ACL's or user group ux yet.
This commit is contained in:
@@ -14,6 +14,7 @@ func Search(c *middleware.Context) {
|
||||
tags := c.QueryStrings("tag")
|
||||
starred := c.Query("starred")
|
||||
limit := c.QueryInt("limit")
|
||||
browseMode := c.Query("browseMode")
|
||||
|
||||
if limit == 0 {
|
||||
limit = 1000
|
||||
@@ -35,6 +36,7 @@ func Search(c *middleware.Context) {
|
||||
IsStarred: starred == "true",
|
||||
OrgId: c.OrgId,
|
||||
DashboardIds: dbids,
|
||||
BrowseMode: browseMode == "true",
|
||||
}
|
||||
|
||||
err := bus.Dispatch(&searchQuery)
|
||||
|
Reference in New Issue
Block a user