LibraryPanels: Adds panel type filter and sorting (#33425)
* Wip: inital commit * Chore: updating api * Refactor: adds description search and sorting * Refactor: adds panel filtering * Refactor: limits the height of select * Tests: updates snapshot * Refactor: small UI improvements
This commit is contained in:
@@ -60,8 +60,8 @@ type SearchService struct {
|
||||
func (s *SearchService) Init() error {
|
||||
s.Bus.AddHandler(s.searchHandler)
|
||||
s.sortOptions = map[string]SortOption{
|
||||
sortAlphaAsc.Name: sortAlphaAsc,
|
||||
sortAlphaDesc.Name: sortAlphaDesc,
|
||||
SortAlphaAsc.Name: SortAlphaAsc,
|
||||
SortAlphaDesc.Name: SortAlphaDesc,
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user