diff options
author | mark <mark> | 2010-11-20 02:33:04 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-20 02:33:04 +0000 |
commit | 14ddc73d2c72c357bc80e40aae0c3a7538110450 (patch) | |
tree | 8add4c5ee6a201f0589450f483ef178322233556 /rt/share/html/Callbacks | |
parent | 4a3151fd9f9c4f7cffd6a5843408301083d93682 (diff) |
search tickets on some customer fields, RT#9328
Diffstat (limited to 'rt/share/html/Callbacks')
-rw-r--r-- | rt/share/html/Callbacks/SearchCustomerFields/Search/Elements/PickBasics/Default | 46 |
1 files changed, 46 insertions, 0 deletions
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', + }, + }, +; +</%init> +<%ARGS> +$Conditions => [] +</%ARGS> |