projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import of rt 3.0.9
[freeside.git]
/
rt
/
lib
/
RT
/
Record.pm
diff --git
a/rt/lib/RT/Record.pm
b/rt/lib/RT/Record.pm
index
6962221
..
7a86906
100755
(executable)
--- a/
rt/lib/RT/Record.pm
+++ b/
rt/lib/RT/Record.pm
@@
-211,7
+211,10
@@
sub LoadByCols {
$newhash{$key} = $hash{$key};
}
else {
$newhash{$key} = $hash{$key};
}
else {
- $newhash{ "lower(" . $key . ")" } = lc( $hash{$key} );
+ my ($op, $val);
+ ($key, $op, $val) = $self->_Handle->_MakeClauseCaseInsensitive($key, '=', $hash{$key});
+ $newhash{$key}->{operator} = $op;
+ $newhash{$key}->{value} = $val;
}
}
}
}