From f0a9869bb3cd5dde6c40306bed441b24da2410be Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 13 Jul 2009 10:38:27 +0000 Subject: [PATCH] preserve the col_filter within the active session --- infolog/inc/class.infolog_ui.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index e8444bd6df..c315cf25a1 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -483,6 +483,8 @@ class infolog_ui $action = $session['action']; $action_id = $session['action_id']; $action_title = $session['action_title']; + // no action -> try to restore the previous colfilter + $colfilter = $session['col_filter']; unset($session); } } @@ -584,6 +586,7 @@ class infolog_ui $this->tmpl->read('infolog.index'); + if ($colfilter) $values['nm']['col_filter'] = $persist['col_filter'] = $colfilter; $values['nm']['options-filter'] = $this->filters; $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(