From a81cdf73beace3a0bf65b790d73ca8de0e2470ab Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 25 Mar 2016 16:08:22 +0000 Subject: [PATCH] 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 --- calendar/inc/class.calendar_owner_etemplate_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php index 0eb236d076..10dce86474 100644 --- a/calendar/inc/class.calendar_owner_etemplate_widget.inc.php +++ b/calendar/inc/class.calendar_owner_etemplate_widget.inc.php @@ -144,7 +144,7 @@ class calendar_owner_etemplate_widget extends etemplate_widget_taglist foreach($list as $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')); }