From 3c71c67118ab81208d0b47519c31d58b6d5ffff0 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 27 Jan 2012 18:15:26 +0000 Subject: - Revert SORT=DISPLAY support, removed by mistake in r4160 (#1488327) --- program/include/rcube_imap_generic.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'program/include/rcube_imap_generic.php') 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); -- cgit v1.2.3