Show tags in item list view

Also set default page size down to 60.
This commit is contained in:
Eike Kettner
2020-06-07 15:43:46 +02:00
parent 1d2a6e6caa
commit 5b2b2eceb3
3 changed files with 29 additions and 5 deletions

View File

@ -1029,7 +1029,7 @@ moveAttachmentBefore flags itemId data receive =
itemSearch : Flags -> ItemSearch -> (Result Http.Error ItemLightList -> msg) -> Cmd msg
itemSearch flags search receive =
Http2.authPost
{ url = flags.config.baseUrl ++ "/api/v1/sec/item/search"
{ url = flags.config.baseUrl ++ "/api/v1/sec/item/searchWithTags"
, account = getAccount flags
, body = Http.jsonBody (Api.Model.ItemSearch.encode search)
, expect = Http.expectJson receive Api.Model.ItemLightList.decoder