mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 10:59:35 +01:00
preserve the col_filter within the active session
This commit is contained in:
parent
8a3f20194c
commit
f0a9869bb3
@ -483,6 +483,8 @@ class infolog_ui
|
|||||||
$action = $session['action'];
|
$action = $session['action'];
|
||||||
$action_id = $session['action_id'];
|
$action_id = $session['action_id'];
|
||||||
$action_title = $session['action_title'];
|
$action_title = $session['action_title'];
|
||||||
|
// no action -> try to restore the previous colfilter
|
||||||
|
$colfilter = $session['col_filter'];
|
||||||
unset($session);
|
unset($session);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -584,6 +586,7 @@ class infolog_ui
|
|||||||
|
|
||||||
$this->tmpl->read('infolog.index');
|
$this->tmpl->read('infolog.index');
|
||||||
|
|
||||||
|
if ($colfilter) $values['nm']['col_filter'] = $persist['col_filter'] = $colfilter;
|
||||||
$values['nm']['options-filter'] = $this->filters;
|
$values['nm']['options-filter'] = $this->filters;
|
||||||
$values['nm']['get_rows'] = 'infolog.infolog_ui.get_rows';
|
$values['nm']['get_rows'] = 'infolog.infolog_ui.get_rows';
|
||||||
$values['nm']['options-filter2'] = (in_array($this->prefs['show_links'],array('all','no_describtion')) ? array() : array(
|
$values['nm']['options-filter2'] = (in_array($this->prefs['show_links'],array('all','no_describtion')) ? array() : array(
|
||||||
|
Loading…
Reference in New Issue
Block a user