search tickets by customer advertising source, #16490
[freeside.git] / rt / share / html / Callbacks / SearchCustomerFields / Search / Elements / PickBasics / Default
index abbafbc..369912b 100644 (file)
@@ -39,6 +39,19 @@ push @$Conditions,
             Path => '/Elements/SelectCustomerTag',
         },
     },
+    {
+        Name => 'Refnum',
+        Field => 'Advertising Source',
+        Op => {
+            Type => 'component',
+            Path => '/Elements/SelectBoolean',
+            Arguments => { TrueVal=> '=', FalseVal => '!=' },
+        },
+        Value => {
+            Type => 'component',
+            Path => '/Elements/SelectCustomerReferral',
+        },
+    },
 ;
 </%init>
 <%ARGS>