Ignore:
Timestamp:
Aug 22, 2014, 3:31:25 PM (10 years ago)
Author:
plg
Message:

redirect if action is related to filter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/batch_manager_prefilters/main.inc.php

    r29246 r29247  
    6868function element_set_global_action_bmp($action)
    6969{
     70  echo __FUNCTION__.'::'.$action.'<br>';
    7071  if ((@$_SESSION['bulk_manager_filter']['prefilter'] == 'with tags' and in_array($action, array('add_tags', 'del_tags')))
    71     or (in_array(@$_SESSION['bulk_manager_filter']['prefilter'], array('with author', 'without author')) and $action == 'author'))
     72    or (in_array(@$_SESSION['bulk_manager_filter']['prefilter'], array('with author', 'without author')) and $action == 'author')
     73      or (in_array(@$_SESSION['bulk_manager_filter']['prefilter'], array('no_date_creation')) and $action == 'date_creation')
     74      or (in_array(@$_SESSION['bulk_manager_filter']['prefilter'], array('no_title')) and $action == 'title')
     75    )
    7276  {
    7377    // let's refresh the page because we the current set might be modified
Note: See TracChangeset for help on using the changeset viewer.