summaryrefslogtreecommitdiff
path: root/commands/account/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/search.go')
-rw-r--r--commands/account/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/search.go b/commands/account/search.go
index 290aafc..8209924 100644
--- a/commands/account/search.go
+++ b/commands/account/search.go
@@ -46,7 +46,7 @@ func (SearchFilter) Execute(aerc *widgets.Aerc, args []string) error {
logging.Infof("Filter results: %v", store.Uids())
}
}
- store.Sort(nil, cb)
+ store.Sort(store.GetCurrentSortCriteria(), cb)
} else {
acct.SetStatus(statusline.Search("Searching..."))
cb := func(uids []uint32) {