summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-01-27 18:16:40 +0000
committeralecpl <alec@alec.pl>2012-01-27 18:16:40 +0000
commit82775db0a4aba866898bcab01e90feaae3f56c99 (patch)
tree6f3c4a5db6b9c773659ff2a9a56daf4d7ff5b3cb
parent20588763f276667d888eb020d6ead6ec0cf7da59 (diff)
- Revert SORT=DISPLAY support, removed by mistake (#1488327)
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/rcube_imap_generic.php5
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f0e8830d6..2f8a627c2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Revert SORT=DISPLAY support, removed by mistake (#1488327)
- Add lost translation label in de_DE (#1488315)
- Fix drafts update issues when edited from preview pane (#1488314)
- Fix wrong variable name in rcube_ldap.php (#1488302)
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 94211210d..e390b2448 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -1557,6 +1557,11 @@ class rcube_imap_generic
}
if (!$this->select($mailbox)) {
+ }
+
+ // RFC 5957: SORT=DISPLAY
+ if (($field == 'FROM' || $field == 'TO') && $this->getCapability('SORT=DISPLAY')) {
+ $field = 'DISPLAY' . $field;
return null;
}