[freeside-commits] freeside/FS/FS/TicketSystem RT_Internal.pm, 1.14, 1.15

Ivan,,, ivan at wavetail.420.am
Tue Apr 6 23:20:55 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory wavetail.420.am:/tmp/cvs-serv16816

Modified Files:
	RT_Internal.pm 
Log Message:
fix capitalization of RT tables and columns - mysql fix

Index: RT_Internal.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_Internal.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -w -d -r1.14 -r1.15
--- RT_Internal.pm	12 Feb 2010 19:28:17 -0000	1.14
+++ RT_Internal.pm	7 Apr 2010 06:20:53 -0000	1.15
@@ -15,10 +15,10 @@
 $me = '[FS::TicketSystem::RT_Internal]';
 
 sub sql_num_customer_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
+  "( 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
    )";
 }
 



More information about the freeside-commits mailing list