[Rt-commit] [svn] r719 - in rt: . branches/rt-3.3/lib/RT

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Wed Apr 21 14:59:56 EDT 2004


Author: autrijus
Date: Wed Apr 21 14:59:55 2004
New Revision: 719

Modified:
   rt/   (props changed)
   rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
Log:
 r4027 at not:  autrijus | 2004-04-21T18:59:19.548165Z

 * LimitAttribute( EMPTY => 1 ) is much more correctly handled with a IS NULL.


Modified: rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
==============================================================================
--- rt/branches/rt-3.3/lib/RT/SearchBuilder.pm	(original)
+++ rt/branches/rt-3.3/lib/RT/SearchBuilder.pm	Wed Apr 21 14:59:55 2004
@@ -151,8 +151,8 @@
     $self->Limit(
 	ALIAS	   => $alias,
 	FIELD      => 'Content',
-	OPERATOR   => '=',
-	VALUE      => '0',
+	OPERATOR   => 'IS',
+	VALUE      => 'NULL',
 	ENTRYAGGREGATOR => 'OR',
     ) if $args{EMPTY};
 }


More information about the Rt-commit mailing list