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

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


 [2008-04-08 07: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 pear.php.net: ============= Total: 6770738 Warning: usort(): Invalid comparison function. in /usr/share/php/PEAR/Size/Factory.php on line 167 Expected result: ---------------- no usort warning!

Comments

 [2008-04-08 18:18 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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...