This commit was generated by cvs2svn to compensate for changes in r3921,
[freeside.git] / FS / FS / TicketSystem / RT_Internal.pm
1 package FS::TicketSystem::RT_Internal;
2
3 use strict;
4 use vars qw( @ISA );
5
6 @ISA = qw( FS::TicketSystem::RT_Libs );
7
8 sub sql_customer_tickets {
9   "( select count(*) from tickets
10                      join links on ( tickets.id = links.localbase )
11      where ( status = 'new' or status = 'open' or status = 'stalled' )
12        and target = 'freeside://freeside/cust_main/' || custnum
13    )";
14 }
15
16 1;
17