forked from extern/egroupware
Default application filter to the application you were just in
This commit is contained in:
parent
69c2466ed3
commit
57cc6dba1a
@ -207,6 +207,7 @@ this.value = \'\'"';
|
||||
{
|
||||
$file['Define imports|exports'] = egw::link('/index.php',array(
|
||||
'menuaction' => 'importexport.importexport_definitions_ui.index',
|
||||
'application' => $appname,
|
||||
),$GLOBALS['egw_info']['user']['apps']['admin'] ? 'admin' : 'preferences');
|
||||
}
|
||||
if($file) display_sidebox($appname,lang('importexport'),$file);
|
||||
|
@ -161,6 +161,7 @@ class importexport_definitions_ui
|
||||
'default_cols' => '!actions', // switch legacy actions column and row off by default
|
||||
'row_id' => 'definition_id',
|
||||
);
|
||||
if($_GET['application']) $content['nm']['col_filter']['application'] = $_GET['application'];
|
||||
}
|
||||
if(egw_session::appsession('index', 'importexport')) {
|
||||
$content['nm'] = array_merge($content['nm'], egw_session::appsession('index', 'importexport'));
|
||||
|
Loading…
Reference in New Issue
Block a user