WIP: remove browse mode for dashboard search
Dashboard folders included in all searches. If a dashboard matches a search and has a parent folder then the parent folder is appended to the search result. A hierarchy is then returned in the result with child dashboards under their parent folders.
This commit is contained in:
@@ -14,7 +14,6 @@ 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
|
||||
@@ -36,7 +35,6 @@ 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