[Rt-commit] r19472 - rt/3.999/trunk/lib/RT
sartak at bestpractical.com
sartak at bestpractical.com
Wed May 6 14:30:16 EDT 2009
Author: sartak
Date: Wed May 6 14:30:16 2009
New Revision: 19472
Modified:
rt/3.999/trunk/lib/RT/Collection.pm
Log:
Fix %negate heheheh
Modified: rt/3.999/trunk/lib/RT/Collection.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Collection.pm (original)
+++ rt/3.999/trunk/lib/RT/Collection.pm Wed May 6 14:30:16 2009
@@ -103,17 +103,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 limit_attribute {
More information about the Rt-commit
mailing list