[Rt-commit] rt branch, 4.0/case-sensitive-user-searches, updated. rt-4.0.2-114-g9b9b510
Alex Vandiver
alexmv at bestpractical.com
Tue Dec 27 17:55:06 EST 2011
The branch, 4.0/case-sensitive-user-searches has been updated
via 9b9b510d179718009f40cc677b47faed36f2ccb8 (commit)
from 9bf1d68666d02f45d3c01b4b9f22237f6a291d83 (commit)
Summary of changes:
lib/RT/Tickets.pm | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 9b9b510d179718009f40cc677b47faed36f2ccb8
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Oct 6 14:15:47 2011 -0400
There is no reason to set date matches as case-insensitive
Modern DBIx::SearchBuilders ignore this at a low level, but there is no
reason to assert it in the first place.
diff --git a/lib/RT/Tickets.pm b/lib/RT/Tickets.pm
index 5401373..6305d76 100644
--- a/lib/RT/Tickets.pm
+++ b/lib/RT/Tickets.pm
@@ -658,7 +658,6 @@ sub _TransDateLimit {
FIELD => 'Created',
OPERATOR => ">=",
VALUE => $daystart,
- CASESENSITIVE => 0,
@rest
);
$sb->_SQLLimit(
@@ -666,7 +665,6 @@ sub _TransDateLimit {
FIELD => 'Created',
OPERATOR => "<=",
VALUE => $dayend,
- CASESENSITIVE => 0,
@rest,
ENTRYAGGREGATOR => 'AND',
);
@@ -682,7 +680,6 @@ sub _TransDateLimit {
FIELD => 'Created',
OPERATOR => $op,
VALUE => $date->ISO,
- CASESENSITIVE => 0,
@rest
);
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list