diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-12-08 17:03:57 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-12-08 17:03:57 +0100 |
commit | 7435cf9882fe577c8754fe8ac2df6f7007c546fa (patch) | |
tree | 884868c47b58657fc5f61dc823fdca379d65e506 /src/jwebmail/model | |
parent | 2f086f24d782144b304091e72c66ca75c006a98a (diff) |
add fixes for search and sort
Diffstat (limited to 'src/jwebmail/model')
-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}") |