freeside/FS/FS/TicketSystem RT_External.pm,1.7,1.8
ivan
ivan at pouncequick.420.am
Thu Dec 9 04:18:34 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory pouncequick:/tmp/cvs-serv19886/FS/FS/TicketSystem
Modified Files:
RT_External.pm
Log Message:
narrow select to avoid pickup up wrong id field
Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- RT_External.pm 9 Dec 2004 12:03:03 -0000 1.7
+++ RT_External.pm 9 Dec 2004 12:18:32 -0000 1.8
@@ -44,7 +44,9 @@
#$dbh ||= create one from some config options
my( $from_sql, @param) = $self->_from_customer( $custnum, $priority );
- my $sql = "select * $from_sql order by priority desc limit $limit";
+ my $sql = "select tickets.*, queues.name".
+ ( length($priority) ? ", ticketcustomfieldvalues.content" : '' ).
+ " $from_sql order by priority desc limit $limit";
my $sth = $dbh->prepare($sql) or die $dbh->errstr. "preparing $sql";
$sth->execute(@param) or die $sth->errstr. "executing $sql";
More information about the freeside-commits
mailing list