mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 12:42:35 +08:00
Library Panels: Remove dashboards table dependency when getting all library panels (#99160)
* Remove dashboards table dependency when getting all library panels * Filter library elements a user can see using the folder service * Stop using folder name as UID in get all elements tests * Set actual folder name not UID when getting all elements * Stop selecting folder name in the get all elements sql query * Introduce a library elements param selector without where clause * Include empty string as general folder UID when getting all library elements --------- Co-authored-by: suntala <arati.rana@grafana.com>
This commit is contained in:
@ -214,6 +214,7 @@ type GetLibraryElementCommand struct {
|
||||
// Deprecated: use FolderUID instead
|
||||
FolderID int64
|
||||
UID string
|
||||
Name string
|
||||
}
|
||||
|
||||
// SearchLibraryElementsQuery is the query used for searching for Elements
|
||||
|
Reference in New Issue
Block a user