mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #3720 from modoboa/fix/webmail_search
Added missing quotes to SORT parameter
This commit is contained in:
@@ -228,9 +228,7 @@ const autoRefreshContent = () => {
|
||||
}
|
||||
|
||||
const submitSearch = () => {
|
||||
if (search.value) {
|
||||
fetchEmails()
|
||||
}
|
||||
fetchEmails()
|
||||
}
|
||||
|
||||
const toggleAllSelection = (value) => {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user