Changeset 14689


Ignore:
Timestamp:
05/02/12 22:25:34 (8 years ago)
Author:
rvelices
Message:

batch manager - all/level filters sorts images using config order by

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager.php

    r13646 r14689  
    258258SELECT id 
    259259  FROM '.IMAGES_TABLE.' 
    260 ;'; 
    261  
    262     array_push( 
    263       $filter_sets, 
    264       array_from_query($query, 'id') 
    265       ); 
     260  '.$conf['order_by']; 
     261 
     262    $filter_sets[] = array_from_query($query, 'id'); 
    266263  } 
    267264 
     
    305302  FROM '.IMAGES_TABLE.' 
    306303  WHERE level '.$operator.' '.$_SESSION['bulk_manager_filter']['level'].' 
    307 ;'; 
    308   array_push( 
    309     $filter_sets, 
    310     array_from_query($query, 'id') 
    311     ); 
     304  '.$conf['order_by']; 
     305 
     306  $filter_sets[] = array_from_query($query, 'id'); 
    312307} 
    313308 
Note: See TracChangeset for help on using the changeset viewer.