projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9671d39
)
clean up date customfield change
author
mark
<mark>
Wed, 26 Jan 2011 21:43:03 +0000
(21:43 +0000)
committer
mark
<mark>
Wed, 26 Jan 2011 21:43:03 +0000
(21:43 +0000)
rt/lib/RT/Tickets_Overlay.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT/Tickets_Overlay.pm
b/rt/lib/RT/Tickets_Overlay.pm
index
9450e4d
..
89d64c5
100644
(file)
--- a/
rt/lib/RT/Tickets_Overlay.pm
+++ b/
rt/lib/RT/Tickets_Overlay.pm
@@
-1372,11
+1372,6
@@
sub _CustomFieldLimit {
($queue, $field, $cf, $column) = $self->_CustomFieldDecipher( $field );
$cfid = $cf ? $cf->id : 0 ;
($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
# 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
@@
sub LimitCustomField {
$args{CUSTOMFIELD} = $CF->Id;
}
$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'}
#If we are looking to compare with a null value.
if ( $args{'OPERATOR'} =~ /^is$/i ) {
$args{'DESCRIPTION'}