From 14ddc73d2c72c357bc80e40aae0c3a7538110450 Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 20 Nov 2010 02:33:04 +0000 Subject: search tickets on some customer fields, RT#9328 --- .../Search/Elements/PickBasics/Default | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 rt/share/html/Callbacks/SearchCustomerFields/Search/Elements/PickBasics/Default (limited to 'rt/share/html/Callbacks') diff --git a/rt/share/html/Callbacks/SearchCustomerFields/Search/Elements/PickBasics/Default b/rt/share/html/Callbacks/SearchCustomerFields/Search/Elements/PickBasics/Default new file mode 100644 index 000000000..abbafbcf1 --- /dev/null +++ b/rt/share/html/Callbacks/SearchCustomerFields/Search/Elements/PickBasics/Default @@ -0,0 +1,46 @@ +<%init> +push @$Conditions, + { + Name => 'Agentnum', + Field => 'Agent', + Op => { + Type => 'component', + Path => '/Elements/SelectBoolean', + Arguments => { TrueVal=> '=', FalseVal => '!=' }, + }, + Value => { + Type => 'component', + Path => '/Elements/SelectCustomerAgent', + }, + }, + { + Name => 'Classnum', + Field => 'Customer Class', + Op => { + Type => 'component', + Path => '/Elements/SelectBoolean', + Arguments => { TrueVal=> '=', FalseVal => '!=' }, + }, + Value => { + Type => 'component', + Path => '/Elements/SelectCustomerClass', + }, + }, + { + Name => 'Tagnum', + Field => 'Tag', + Op => { + Type => 'component', + Path => '/Elements/SelectBoolean', + Arguments => { TrueVal=> '=', FalseVal => '!=' }, + }, + Value => { + Type => 'component', + Path => '/Elements/SelectCustomerTag', + }, + }, +; + +<%ARGS> +$Conditions => [] + -- cgit v1.2.1