function all_content($type){

$_SESSION['node_overview_filter'][0][0]='type';
$_SESSION['node_overview_filter'][0][1]=$type;

drupal_goto('admin/content/node/overview');

}

original code in node/node.admin.inc file in node_filter_form()
$session = &$_SESSION['node_overview_filter'];

____________________________________________

for user refine search there is a function user_filter_form() in user/user.admin.inc

and set values in $_SESSION['user_overview_filter'] variable

Advertisements