Changeset 29377


Ignore:
Timestamp:
09/01/14 20:45:00 (5 years ago)
Author:
plg
Message:

feature 3130: new triggers batch_manager_register_filters and
batch_manager_perform_filters to simplify adding filters in
Batch Manager with a plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager.php

    r29249 r29377  
    161161    $_SESSION['bulk_manager_filter']['search']['q'] = $_POST['q']; 
    162162  } 
     163 
     164  trigger_notify('batch_manager_register_filters'); 
    163165} 
    164166// filters from url 
     
    479481  $filter_sets[] = $res['items']; 
    480482} 
     483 
     484$filter_sets = trigger_change('batch_manager_perform_filters', $filter_sets); 
    481485 
    482486$current_set = array_shift($filter_sets); 
Note: See TracChangeset for help on using the changeset viewer.