mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove bus from search and avoid import cycle (#46789)
* fix the import cicle * fix some unittest * fix removal bus from search
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package definitions
|
||||
|
||||
import "github.com/grafana/grafana/pkg/services/search"
|
||||
import "github.com/grafana/grafana/pkg/models"
|
||||
|
||||
// swagger:route GET /search/sorting search searchSorting
|
||||
//
|
||||
@@ -75,7 +75,7 @@ type SearchParameters struct {
|
||||
// swagger:response searchResponse
|
||||
type SearchResponse struct {
|
||||
// in: body
|
||||
Body search.HitList `json:"body"`
|
||||
Body models.HitList `json:"body"`
|
||||
}
|
||||
|
||||
// swagger:response searchSortingResponse
|
||||
|
||||
Reference in New Issue
Block a user