[Rt-commit] r12769 - in rt/branches/3.8-TESTING: .

falcone at bestpractical.com falcone at bestpractical.com
Fri May 30 16:39:08 EDT 2008


Author: falcone
Date: Fri May 30 16:39:07 2008
New Revision: 12769

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm

Log:
 r33605 at ketch:  falcone | 2008-05-30 16:37:40 -0400
 * revert r12734 it causes t/ticket/search.t to fail
   all CF searches on mysql 4.1


Modified: rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm	Fri May 30 16:39:07 2008
@@ -1292,8 +1292,6 @@
 
     $self->_OpenParen;
 
-    $self->_OpenParen;
-
     $self->_SQLLimit(
         ALIAS      => $TicketCFs,
         FIELD      => $column || 'Content',
@@ -1302,30 +1300,6 @@
         %rest
     );
 
-    $self->_OpenParen;
-
-    $self->_SQLLimit(
-        ALIAS      => $TicketCFs,
-        FIELD      => $column || 'Content',
-        OPERATOR   => '=',
-        VALUE      => '',
-        QUOTEVALUE => 0,
-        ENTRYAGGREGATOR => 'OR'
-    );
-
-    $self->_SQLLimit(
-        ALIAS => $TicketCFs,
-        FIELD => 'LargeContent',
-        OPERATOR => $op,
-        VALUE => $value,
-        QUOTEVALUE => 1,
-        ENTRYAGGREGATOR => 'AND',
-    );
-
-    $self->_CloseParen;
-
-    $self->_CloseParen;
-
     # XXX: if we join via CustomFields table then
     # because of order of left joins we get NULLs in
     # CF table and then get nulls for those records


More information about the Rt-commit mailing list