Fix collection search not working from tab
This commit is contained in:
parent
96a135bbc7
commit
fcb12ec630
1 changed files with 4 additions and 1 deletions
|
@ -169,7 +169,10 @@ parseUrl =
|
|||
)
|
||||
|> Url.Parser.Query.map (Maybe.withDefault True)
|
||||
in
|
||||
Url.Parser.top <?> Url.Parser.Query.map3 Criteria query sortBy inCollection
|
||||
Url.Parser.oneOf
|
||||
[ Url.Parser.top <?> Url.Parser.Query.map3 Criteria query sortBy inCollection
|
||||
, Url.Parser.s "collection" <?> Url.Parser.Query.map3 Criteria query sortBy inCollection
|
||||
]
|
||||
|
||||
|
||||
criteriaFromUrl : Url.Url -> Criteria
|
||||
|
|
Loading…
Reference in a new issue