[Rt-commit] r19597 - rt/3.8/branches/forward-with-transaction/lib/RT

falcone at bestpractical.com falcone at bestpractical.com
Fri May 8 17:57:00 EDT 2009


Author: falcone
Date: Fri May  8 17:56:59 2009
New Revision: 19597

Modified:
   rt/3.8/branches/forward-with-transaction/lib/RT/SearchBuilder.pm

Log:
Fix the %Negate table which has been broken since 3.3

Modified: rt/3.8/branches/forward-with-transaction/lib/RT/SearchBuilder.pm
==============================================================================
--- rt/3.8/branches/forward-with-transaction/lib/RT/SearchBuilder.pm	(original)
+++ rt/3.8/branches/forward-with-transaction/lib/RT/SearchBuilder.pm	Fri May  8 17:56:59 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