[freeside-commits] freeside/rt/lib/RT Tickets_Overlay.pm, 1.5.2.2, 1.5.2.3
Mark Wells
mark at wavetail.420.am
Wed Jan 26 13:43:16 PST 2011
Update of /home/cvs/cvsroot/freeside/rt/lib/RT
In directory wavetail.420.am:/tmp/cvs-serv4173/lib/RT
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Tickets_Overlay.pm
Log Message:
clean up date customfield change
Index: Tickets_Overlay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Tickets_Overlay.pm,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -w -d -r1.5.2.2 -r1.5.2.3
--- Tickets_Overlay.pm 26 Jan 2011 21:35:41 -0000 1.5.2.2
+++ Tickets_Overlay.pm 26 Jan 2011 21:43:14 -0000 1.5.2.3
@@ -1372,11 +1372,6 @@
($queue, $field, $cf, $column) = $self->_CustomFieldDecipher( $field );
$cfid = $cf ? $cf->id : 0 ;
- # Handle date custom fields specially
- if ( $cf->Type eq 'Date' ) {
- return $self->_DateCustomFieldLimit($_field, $op, $value, %rest);
- }
-
# If we're trying to find custom fields that don't match something, we
# want tickets where the custom field has no value at all. Note that
# we explicitly don't include the "IS NULL" case, since we would
@@ -2811,11 +2806,6 @@
$args{CUSTOMFIELD} = $CF->Id;
}
- # Handle special customfields types
- if ($CF->Type eq 'Date') {
- $args{FIELD} = 'DateCustomFieldValue';
- }
-
#If we are looking to compare with a null value.
if ( $args{'OPERATOR'} =~ /^is$/i ) {
$args{'DESCRIPTION'}
More information about the freeside-commits
mailing list