Ticket #10504: sorting.php.patch

File sorting.php.patch, 810 bytes (added by Dave Sp <davespmyth@…>, 8 years ago)
Line 
1*** includes/sorting.php.old    2011-04-03 06:05:31.000000000 -0500
2--- includes/sorting.php        2012-03-27 05:05:51.000000000 -0500
3***************
4*** 123,129 ****
5      function by_user_choice(&$a, &$b) {
6          foreach ($GLOBALS['user_sort_choice'] as $sort) {
7              $function = 'by_'.$sort['field'];
8!             $response = $function(&$a, &$b);
9          // Identical response, go on to the next sort choice
10              if (!$response)
11                  continue;
12--- 123,129 ----
13      function by_user_choice(&$a, &$b) {
14          foreach ($GLOBALS['user_sort_choice'] as $sort) {
15              $function = 'by_'.$sort['field'];
16!             $response = $function($a, $b);
17          // Identical response, go on to the next sort choice
18              if (!$response)
19                  continue;