notmuch: default empty search to wildcard
This commit is contained in:
parent
bce2c741c4
commit
f7df834325
@ -491,6 +491,8 @@ impl Notmuch {
|
||||
offset: usize,
|
||||
limit: usize,
|
||||
) -> Result<SearchSummary, NotmuchError> {
|
||||
let query = if query.is_empty() { "*" } else { query };
|
||||
|
||||
let res = self.run_notmuch([
|
||||
"search",
|
||||
"--format=json",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user