#1227 Sorting bug in Profile module search

XOOPS_2.5.x
pending
Mage Grégory
5
2013-09-14
2012-08-27
zyspec
No

There is a bug in the sort algorithm that does not take into account the custom fields and also will incorrectly sort if an invalid value is set in 'sortby' and is passed to search.php in $_REQUEST

This has been a problem for a while (since at least 2.5.3 core release and is still a problem in 2.5.5 and 2.6 core branches).

Patch file is attached.

Discussion

  • zyspec
    zyspec
    2012-08-27

    Profile search.php sort bug

     
  • Mage Grégory
    Mage Grégory
    2012-09-09

    This is corrected, thank you

     
  • Mage Grégory
    Mage Grégory
    2012-09-09

    Fixed in SVN and waiting for review

     
  • Michael Beck
    Michael Beck
    2013-09-14

    Also included in XOOPS 2.5.7 Beta 1