[dev] Fix for sorting in IMP searchs

Sebastián Calero scalero at datadec.es
Mon Oct 4 09:47:56 PDT 2004


With this little fix, the sorting of search results works:
 
Index: Search.php
===================================================================
RCS file: /framework/IMAP/IMAP/Search.php,v
retrieving revision 1.1
diff -r1.1 Search.php
149c149
<             $indices_sort = @imap_sort($imap, $sortby, $sortdir, SE_UID);
---
>             $indices_sort = @imap_sort($imap, $criteria, $dir, SE_UID);
 
 
Greetings.
 
Sebastian Calero.


More information about the dev mailing list