Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC2

Bug #13620 sort by file size doesn't work
Submitted: 2008-04-08 12:38 UTC
From: kguest Assigned: kguest
Status: Closed Package: PEAR_Size (version 0.1.2)
PHP Version: 5.2.3 OS:
Roadmaps: 0.1.3    

 [2008-04-08 12:38 UTC] kguest (Ken Guest)
Description: ------------ for both plugin and script, attempting to sort results by filesize doesn't work. Test script: --------------- [kguest@kguest-desktop ~]$ pearsize --all -S Total: 6770738 ============= Total: 6770738 Warning: usort(): Invalid comparison function. in /usr/share/php/PEAR/Size/Factory.php on line 167 Expected result: ---------------- no usort warning!


 [2008-04-08 23:18 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. moved _sortBySize function to PEAR_Size_Output_Driver function...