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:
Nathan Gray 2016-03-25 16:08:22 +00:00
parent 12ca409137
commit a81cdf73be

View File

@ -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'));
} }