diff options
author | alecpl <alec@alec.pl> | 2012-01-27 18:15:26 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-27 18:15:26 +0000 |
commit | 3c71c67118ab81208d0b47519c31d58b6d5ffff0 (patch) | |
tree | a9da7e1ef0b891012cb98fb6815f120390556005 | |
parent | f6a7491fa1332d43ac7167d50472aa514fd0caf2 (diff) |
- Revert SORT=DISPLAY support, removed by mistake in r4160 (#1488327)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/rcube_imap_generic.php | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Revert SORT=DISPLAY support, removed by mistake (#1488327) - Fix autoselect_host() for login (#1488297) - Fix drafts update issues when edited from preview pane (#1488314) - Changed license to GNU GPLv3+ with exceptions for skins & plugins diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index 1832215b0..ba71a6744 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -1559,6 +1559,11 @@ class rcube_imap_generic return new rcube_result_index($mailbox); } + // RFC 5957: SORT=DISPLAY + if (($field == 'FROM' || $field == 'TO') && $this->getCapability('SORT=DISPLAY')) { + $field = 'DISPLAY' . $field; + } + // message IDs if (!empty($add)) $add = $this->compressMessageSet($add); |