freeside/FS/FS/TicketSystem RT_External.pm,1.3,1.4

ivan ivan at pouncequick.420.am
Mon Dec 6 06:15:36 PST 2004


Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory pouncequick:/tmp/cvs-serv27469/FS/FS/TicketSystem

Modified Files:
	RT_External.pm 
Log Message:
... and this last piece of sql too

Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- RT_External.pm	6 Dec 2004 14:13:23 -0000	1.3
+++ RT_External.pm	6 Dec 2004 14:15:34 -0000	1.4
@@ -50,7 +50,8 @@
   }
 
   my $sql = "
-    select count(*) from tickets 
+    select count(*) from tickets
+                    join links on ( tickets.id = links.localbase )
        where ( status = 'new' or status = 'open' or status = 'stalled' )
          and target = 'freeside://freeside/cust_main/$custnum'
          $priority_sql




More information about the freeside-commits mailing list