diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/jmap/directories.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/jmap/directories.go b/worker/jmap/directories.go index 2b253975..66875cc7 100644 --- a/worker/jmap/directories.go +++ b/worker/jmap/directories.go @@ -349,7 +349,7 @@ func translateSort(criteria []*types.SortCriterion) []*email.SortComparator { default: continue } - cmp.IsAscending = !s.Reverse + cmp.IsAscending = s.Reverse sort = append(sort, &cmp) } |