mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
When server gives taglist options via ajax, take them all. Only filter local suggestions.
- Filter accounts server side so they do not always show up
This commit is contained in:
parent
12ca409137
commit
a81cdf73be
@ -144,7 +144,7 @@ class calendar_owner_etemplate_widget extends etemplate_widget_taglist
|
|||||||
foreach($list as $a_type)
|
foreach($list as $a_type)
|
||||||
{
|
{
|
||||||
$account_options = $options + array('account_type' => $a_type);
|
$account_options = $options + array('account_type' => $a_type);
|
||||||
$_results += accounts::link_query('',$account_options);
|
$_results += accounts::link_query($query,$account_options);
|
||||||
}
|
}
|
||||||
$_results = array_intersect_key($_results, $GLOBALS['egw']->acl->get_grants('calendar'));
|
$_results = array_intersect_key($_results, $GLOBALS['egw']->acl->get_grants('calendar'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user