Enable the "limit" param in /api/search

This commit is contained in:
Thibault Chataigner
2016-06-06 13:47:45 +00:00
parent 25899b72d2
commit 3d77685108
3 changed files with 9 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ func searchHandler(query *Query) error {
IsStarred: query.IsStarred,
OrgId: query.OrgId,
DashboardIds: query.DashboardIds,
Limit: query.Limit,
}
if err := bus.Dispatch(&dashQuery); err != nil {

View File

@@ -42,6 +42,7 @@ type FindPersistedDashboardsQuery struct {
UserId int64
IsStarred bool
DashboardIds []int
Limit int
Result HitList
}