mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
Use different method of filtering app
This commit is contained in:
parent
1c8ba78da0
commit
8efaf4f349
@ -325,10 +325,10 @@ class admin_categories
|
||||
}
|
||||
if($query['col_filter']['app'])
|
||||
{
|
||||
$globalcat = false;
|
||||
$filter['appname'] = $query['col_filter']['app'];
|
||||
}
|
||||
$cats = new categories($filter['owner'],$query['appname']);
|
||||
$globalcat = $globalcat && isset($GLOBALS['egw_info']['user']['apps']['admin']) ? 'all_no_acl' : $globalcat; // ignore acl only for admins
|
||||
$globalcat = isset($GLOBALS['egw_info']['user']['apps']['admin']) ? 'all_no_acl' : $globalcat; // ignore acl only for admins
|
||||
$rows = $cats->return_sorted_array($query['start'],false,$query['search'],$query['sort'],$query['order'],$globalcat,$parent=0,true,$filter);
|
||||
$count = $cats->total_records;
|
||||
foreach($rows as $key => &$row)
|
||||
|
Loading…
Reference in New Issue
Block a user