From 6387fa25158069f3a92718fefcb5fc37cc184366 Mon Sep 17 00:00:00 2001
From: Pascal Bleser
Date: Tue, 7 Jul 2026 11:33:19 +0200
Subject: [PATCH] groupware: fix sorting emails in reverse order
---
pkg/jmap/model.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/jmap/model.go b/pkg/jmap/model.go
index 2236207cf5..61fd76003d 100644
--- a/pkg/jmap/model.go
+++ b/pkg/jmap/model.go
@@ -2149,7 +2149,7 @@ type EmailComparator struct {
// Optional; default value: true.
//
// If false, reverse the comparator’s results to sort in descending order.
- IsAscending bool `json:"isAscending,omitempty"`
+ IsAscending bool `json:"isAscending"`
// The identifier, as registered in the collation registry defined in
// [RFC4790](https://www.rfc-editor.org/rfc/rfc4790.html), for the algorithm