freeside/FS/FS/TicketSystem RT_External.pm,1.5,1.6
ivan
ivan at pouncequick.420.am
Thu Dec 9 03:57:27 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory pouncequick:/tmp/cvs-serv18826/FS/FS/TicketSystem
Modified Files:
RT_External.pm
Log Message:
add config value for default queue id
Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- RT_External.pm 9 Dec 2004 09:21:43 -0000 1.5
+++ RT_External.pm 9 Dec 2004 11:57:24 -0000 1.6
@@ -6,6 +6,7 @@
install_callback FS::UID sub {
my $conf = new FS::Conf;
+ my $default_queueid = $conf->config('ticket_system-default_queueid');
$priority_field =
$conf->config('ticket_system-custom_priority_field');
if ( $priority_field ) {
@@ -153,7 +154,9 @@
sub href_new_ticket {
my( $self, $custnum ) = @_;
- 'Ticket/Create.html?Queue=1&new-MemberOf=freeside://freeside/cust_main/'.$custnum;
+ 'Ticket/Create.html?'.
+ "Queue=$default_queueid".
+ "&new-MemberOf=freeside://freeside/cust_main/$custnum";
}
sub href_ticket {
More information about the freeside-commits
mailing list