and forgot to include the sql for counting tickets with severities...
authorivan <ivan>
Mon, 6 Dec 2004 14:13:23 +0000 (14:13 +0000)
committerivan <ivan>
Mon, 6 Dec 2004 14:13:23 +0000 (14:13 +0000)
FS/FS/TicketSystem/RT_External.pm

index a105c27..26420de 100644 (file)
@@ -53,6 +53,7 @@ sub num_customer_tickets {
     select count(*) from tickets 
        where ( status = 'new' or status = 'open' or status = 'stalled' )
          and target = 'freeside://freeside/cust_main/$custnum'
     select count(*) from tickets 
        where ( status = 'new' or status = 'open' or status = 'stalled' )
          and target = 'freeside://freeside/cust_main/$custnum'
+         $priority_sql
   ";
 
   my $sth = $dbh->prepare($sql) or die $dbh->errstr;
   ";
 
   my $sth = $dbh->prepare($sql) or die $dbh->errstr;