Fix sorting of tags in search menu

The order of tags is based on their overall counts and doesn't change
when tag association changes (due drag and drop) or the search.
This commit is contained in:
eikek
2022-01-28 00:03:41 +01:00
parent b701d25c77
commit 00b65f664d
4 changed files with 277 additions and 401 deletions

View File

@ -106,7 +106,7 @@ initCmd shareId flags =
type Msg
= VerifyResp (Result Http.Error ShareVerifyResult)
| SearchResp (Result Http.Error ItemLightList)
| StatsResp (Result Http.Error SearchStats)
| StatsResp Bool (Result Http.Error SearchStats)
| PasswordMsg Comp.SharePasswordForm.Msg
| SearchMenuMsg Comp.SearchMenu.Msg
| PowerSearchMsg Comp.PowerSearchInput.Msg