[otrs-cvs] otrs/Kernel/Output/HTML/Standard AgentCustomerSearch.dtl, 1.28, 1.29

CVS commits notifications of OTRS.org cvs-log at otrs.org
Mon Jun 20 09:40:43 GMT 2011


Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv11217/Kernel/Output/HTML/Standard

Modified Files:
	AgentCustomerSearch.dtl 
Log Message:
Fixed bug 7400: Setting Ticket::Frontend::ShowCustomerTickets not effective.
http://bugs.otrs.org/show_bug.cgi?id=7400 

Author: mg

Index: AgentCustomerSearch.dtl
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Standard/AgentCustomerSearch.dtl,v
retrieving revision 1.28
retrieving revision 1.29
diff -2 -u -d -r1.28 -r1.29
--- AgentCustomerSearch.dtl	23 Jun 2010 10:25:23 -0000	1.28
+++ AgentCustomerSearch.dtl	20 Jun 2011 09:40:38 -0000	1.29
@@ -1,5 +1,5 @@
 # --
 # AgentCustomerSearch.dtl - provides autocomplete feature for customer search
-# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -17,5 +17,5 @@
     Core.Config.Set('Autocomplete.MinQueryLength', "$QData{"minQueryLength"}");
     Core.Config.Set('Autocomplete.DynamicWidth', "$Config{"Ticket::Frontend::CustomerSearchAutoComplete::DynamicWidth"}");
-    Core.Config.Set('Autocomplete.ShowCustomerTickets', "$Config{"Ticket::Frontend::ShowCustomerTickets"}");
+    Core.Config.Set('Autocomplete.ShowCustomerTickets', "$Config{"Ticket::Frontend::ShowCustomerTickets"}" > 0);
     Core.Config.Set('Autocomplete.SearchButtonText', "$JSText{"Search Customer"}");
     Core.Agent.CustomerSearch.Init($("#CustomerAutoComplete"), $QData{"ActiveAutoComplete"});


More information about the cvs-log mailing list