freeside/FS/FS/TicketSystem RT_External.pm,1.10,1.11
ivan
ivan at pouncequick.420.am
Thu Dec 9 13:59:42 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS/TicketSystem
In directory pouncequick:/tmp/cvs-serv18050
Modified Files:
RT_External.pm
Log Message:
hopefully make links to search for empty value of custom tickets work???
Index: RT_External.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem/RT_External.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- RT_External.pm 9 Dec 2004 21:33:57 -0000 1.10
+++ RT_External.pm 9 Dec 2004 21:59:39 -0000 1.11
@@ -131,10 +131,10 @@
'%27%20%20AND%20%28%20Status%20%3D%20%27open%27%20%20OR%20Status%20%3D%20%27new%27%20%20OR%20Status%20%3D%20%27stalled%27%20%29%20'
;
- if ( $priority && $field && $priority_field_queue ) {
+ if ( defined($priority) && $field && $priority_field_queue ) {
$href .= 'AND%20Queue%20%3D%20%27'. $priority_field_queue. '%27%20';
}
- if ( $priority && $field ) {
+ if ( defined($priority) && $field ) {
$href .= '%20AND%20%27CF.'. $field. '%27%20%3D%20%27'. $priority. '%27%20';
}
@@ -142,13 +142,13 @@
'&OrderBy=id&Page=1'.
'&Format=%27%20%20%20%3Cb%3E%3Ca%20href%3D%22%2Ffreeside%2Frt%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23%27%2C%20%0A%27%3Cb%3E%3Ca%20href%3D%22%2Ffreeside%2Frt%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3ASubject%27%2C%20%0A%27__Status__%27%2C%20';
- if ( $priority && $field ) {
+ if ( defined($priority) && $field ) {
$href .= '%0A%27__CustomField.'. $field. '__%2FTITLE%3ASeverity%27%2C%20';
}
$href .= '%0A%27__QueueName__%27%2C%20%0A%27__OwnerName__%27%2C%20%0A%27__Priority__%27%2C%20%0A%27__NEWLINE__%27%2C%20%0A%27%27%2C%20%0A%27%3Csmall%3E__Requestors__%3C%2Fsmall%3E%27%2C%20%0A%27%3Csmall%3E__CreatedRelative__%3C%2Fsmall%3E%27%2C';
- if ( $priority && $field ) {
+ if ( defined($priority) && $field ) {
$href .= '%20%0A%27__-__%27%2C';
}
More information about the freeside-commits
mailing list