mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Use an enum instead of a boolean to differentiate search
It's not very likely to have more modes of search besides normal and trashed, but got surprised in that way quite often and it's nicer this way anyways.
This commit is contained in:
@ -79,7 +79,7 @@ request mq =
|
||||
, limit = Nothing
|
||||
, withDetails = Just True
|
||||
, query = renderMaybe mq
|
||||
, deleted = Just False
|
||||
, searchMode = Nothing
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user