display customer agent, class, tag in ticket search, #8784
[freeside.git] / rt / lib / RT / URI / freeside.pm
index 6194fd0..33845dd 100644 (file)
@@ -83,6 +83,15 @@ A wrapper for the FS::cust_main::smart_search subroutine.
 sub smart_search { return undef; }
 
 
+=item email_search
+
+A wrapper for the FS::cust_main::email_search subroutine.
+
+=cut
+
+sub email_search { return undef; }
+
+
 =item small_custview
 
 A wrapper for the FS::CGI::small_custview subroutine.
@@ -202,7 +211,7 @@ sub ParseURI {
       $pkey = $2;
 
       unless ( $pkey ) {
-        cluck "bad URL $uri";
+        #way too noisy, using this prefix is normal usage# cluck "bad URL $uri";
         return(undef);
       }
 
@@ -290,6 +299,31 @@ if ($@ &&
   die $@;
 };
 
+=item AgentName
+
+Return the name of the customer's agent.
+
+=cut
+
+sub AgentName { undef }
+
+=item CustomerClass
+
+Return the name of the customer's class.
+
+=cut
+
+sub CustomerClass { undef }
+
+=item CustomerTags
+
+Return the list of tags attached to the customer.  Each tag is returned
+as a hashref with keys "name", "desc", and "color".
+
+=cut
+
+sub CustomerTags { ( ) }
+
 =back
 
 =cut