[freeside-commits] freeside/FS/FS/TicketSystem RT_Internal.pm, 1.11.2.2, 1.11.2.3

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


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	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.11.2.2
retrieving revision 1.11.2.3
diff -u -w -d -r1.11.2.2 -r1.11.2.3
--- RT_Internal.pm	12 Feb 2010 19:28:19 -0000	1.11.2.2
+++ RT_Internal.pm	7 Apr 2010 06:20:54 -0000	1.11.2.3
@@ -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