mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:57 +01:00
removed usage of removed "listNoSubs" preference, as it leads to empty sub-view, if preference was set
This commit is contained in:
parent
87cdff8ebe
commit
03c9a3d6cf
@ -838,8 +838,7 @@ class infolog_so
|
|||||||
}
|
}
|
||||||
$pid = 'AND ' . $this->db->expression($this->info_table,array('info_id_parent' => ($action == 'sp' ?$query['action_id'] : 0)));
|
$pid = 'AND ' . $this->db->expression($this->info_table,array('info_id_parent' => ($action == 'sp' ?$query['action_id'] : 0)));
|
||||||
|
|
||||||
if (!$GLOBALS['egw_info']['user']['preferences']['infolog']['listNoSubs'] && $action != 'sp' ||
|
if ($action != 'sp' || isset($query['subs']) && $query['subs'] || $action != 'sp' && !empty($query['search']))
|
||||||
isset($query['subs']) && $query['subs'] || $action != 'sp' && !empty($query['search']))
|
|
||||||
{
|
{
|
||||||
$pid = '';
|
$pid = '';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user