summaryrefslogtreecommitdiff
path: root/src/jwebmail/model/read_mails.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/model/read_mails.py')
-rw-r--r--src/jwebmail/model/read_mails.py2
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}")