mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
support for parent_id and is_parent
This commit is contained in:
parent
2ffb9e3f91
commit
4cdc5f39c1
@ -270,13 +270,18 @@ class infolog_ui
|
|||||||
if (!$query['csv_export'])
|
if (!$query['csv_export'])
|
||||||
{
|
{
|
||||||
unset($query['no_actions']);
|
unset($query['no_actions']);
|
||||||
|
$parent_id = $query['col_filter']['parent_id'];
|
||||||
|
unset($query['col_filter']['parent_id']);
|
||||||
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['row_modified'] = 'info_datemodified';
|
||||||
|
$query['parent_id'] = 'info_id_parent';
|
||||||
|
$query['is_parent'] = 'info_anz_subs';
|
||||||
$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'];
|
||||||
|
if (isset($parent_id)) $query['col_filter']['info_id_parent'] = (int)$parent_id;
|
||||||
if ($query['filter'] == 'bydate')
|
if ($query['filter'] == 'bydate')
|
||||||
{
|
{
|
||||||
$query['header_left'] = 'infolog.index.dates';
|
$query['header_left'] = 'infolog.index.dates';
|
||||||
|
Loading…
Reference in New Issue
Block a user