diff options
Diffstat (limited to 'src/jwebmail/model/read_mails.py')
-rw-r--r-- | src/jwebmail/model/read_mails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwebmail/model/read_mails.py b/src/jwebmail/model/read_mails.py index b2e1191..fc89c8e 100644 --- a/src/jwebmail/model/read_mails.py +++ b/src/jwebmail/model/read_mails.py @@ -36,7 +36,7 @@ class QMailAuthuser: sort_val["direction"] = "asc" match sort: - case "date" | "subject" | "size": + case "date" | "sender" | "size": sort_val["parameter"] = sort case _: raise ValueError(f"invalid sort parameter {sort!r}") |