Ignore:
Timestamp:
Apr 5, 2014, 9:24:27 PM (10 years ago)
Author:
rvelices
Message:

bug 3069: add quick search as filter in batch manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r26461 r28087  
    8787
    8888  $action = $_POST['selectAction'];
    89  
     89
    9090  if ('remove_from_caddie' == $action)
    9191  {
     
    148148      l10n('Information data registered in database')
    149149      );
    150    
     150
    151151    // let's refresh the page because we the current set might be modified
    152152    if ('no_album' == $page['prefilter'])
     
    172172      l10n('Information data registered in database')
    173173      );
    174    
     174
    175175    // let's refresh the page because we the current set might be modified
    176176    if ('no_album' == $page['prefilter'])
     
    225225        l10n('Information data registered in database')
    226226        );
    227      
     227
    228228      // let's refresh the page because the current set might be modified
    229229      redirect($redirect_url);
     
    238238      $_POST['author'] = null;
    239239    }
    240    
     240
    241241    $datas = array();
    242242    foreach ($collection as $image_id)
     
    262262      $_POST['title'] = null;
    263263    }
    264    
     264
    265265    $datas = array();
    266266    foreach ($collection as $image_id)
     
    278278      );
    279279  }
    280  
     280
    281281  // date_creation
    282282  if ('date_creation' == $action)
     
    309309      );
    310310  }
    311  
     311
    312312  // privacy_level
    313313  if ('level' == $action)
     
    336336    }
    337337  }
    338  
     338
    339339  // add_to_caddie
    340340  if ('add_to_caddie' == $action)
     
    342342    fill_caddie($collection);
    343343  }
    344  
     344
    345345  // delete
    346346  if ('delete' == $action)
     
    665665SELECT id,path,representative_ext,file,filesize,level,name,width,height,rotation
    666666  FROM '.IMAGES_TABLE;
    667  
     667
    668668  if ($is_category)
    669669  {
    670670    $category_info = get_cat_info($_SESSION['bulk_manager_filter']['category']);
    671    
     671
    672672    $conf['order_by'] = $conf['order_by_inside_category'];
    673673    if (!empty($category_info['image_order']))
Note: See TracChangeset for help on using the changeset viewer.