Added missing quotes to SORT parameter

fix #3661 #3690
This commit is contained in:
Antoine Nguyen
2025-09-10 12:19:23 +02:00
parent d79cf6fd72
commit bc0c748147
2 changed files with 3 additions and 5 deletions
@@ -228,9 +228,7 @@ const autoRefreshContent = () => {
}
const submitSearch = () => {
if (search.value) {
fetchEmails()
}
fetchEmails()
}
const toggleAllSelection = (value) => {
+2 -2
View File
@@ -301,8 +301,8 @@ class IMAPconnector:
key = "SUBJECT"
else:
continue
criterions = or_criterion(criterions, f"({key} {pattern})")
self.criterions = [bytearray(criterions, "utf-8")]
criterions = or_criterion(criterions, f'({key} "{pattern}")')
self.criterions = [bytearray(criterions, "utf8")]
def messages_count(self, **kwargs) -> int:
"""An enhanced version of messages_count.