not unsetting query[col_filter][info_id] as it is needed for etemplate2 (and unnecessary anyway), setting row_modified=info_datemodified to allow to check if entries are modified and need to send to client

This commit is contained in:
Ralf Becker 2012-03-23 14:41:07 +00:00
parent c525cadcdb
commit d0c3d82eaa

View File

@ -273,6 +273,7 @@ class infolog_ui
egw_cache::setSession('infolog', $query['session_for'].'session_data', $query); egw_cache::setSession('infolog', $query['session_for'].'session_data', $query);
$query['actions'] = $this->get_actions($query); $query['actions'] = $this->get_actions($query);
$query['row_id'] = 'info_id'; $query['row_id'] = 'info_id';
$query['row_modified'] = 'info_datemodified';
$query['action_var'] = 'multi_action'; // as 'action' is already used in infolog $query['action_var'] = 'multi_action'; // as 'action' is already used in infolog
} }
$orginal_colfilter = $query['col_filter']; $orginal_colfilter = $query['col_filter'];
@ -296,7 +297,6 @@ class infolog_ui
$query['csv_fields'] = $this->csv_export_fields($query['col_filter']['info_type']); $query['csv_fields'] = $this->csv_export_fields($query['col_filter']['info_type']);
} }
// handle linked filter (show only entries linked to a certain other entry) // handle linked filter (show only entries linked to a certain other entry)
unset($query['col_filter']['info_id']);
if ($query['col_filter']['linked']) if ($query['col_filter']['linked'])
{ {
list($app,$id) = explode(':',$query['col_filter']['linked']); list($app,$id) = explode(':',$query['col_filter']['linked']);