[Rt-commit] r19473 - rt/3.8/trunk/lib/RT
sartak at bestpractical.com
sartak at bestpractical.com
Wed May 6 14:38:13 EDT 2009
Author: sartak
Date: Wed May 6 14:38:13 2009
New Revision: 19473
Modified:
rt/3.8/trunk/lib/RT/SearchBuilder.pm
Log:
Fix the %Negate table which has been broken since 3.3
Modified: rt/3.8/trunk/lib/RT/SearchBuilder.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/SearchBuilder.pm (original)
+++ rt/3.8/trunk/lib/RT/SearchBuilder.pm Wed May 6 14:38:13 2009
@@ -127,17 +127,17 @@
=cut
-my %Negate = qw(
- = !=
- != =
- > <=
- < >=
- >= <
- <= >
- LIKE NOT LIKE
- NOT LIKE LIKE
- IS IS NOT
- IS NOT IS
+my %Negate = (
+ '=' => '!=',
+ '!=' => '=',
+ '>' => '<=',
+ '<' => '>=',
+ '>=' => '<',
+ '<=' => '>',
+ 'LIKE' => 'NOT LIKE',
+ 'NOT LIKE' => 'LIKE',
+ 'IS' => 'IS NOT',
+ 'IS NOT' => 'IS',
);
sub LimitAttribute {
More information about the Rt-commit
mailing list