[Rt-commit] r4550 - in rt/branches/3.5-TESTING: lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Thu Feb 16 21:29:15 EST 2006
Author: jesse
Date: Thu Feb 16 21:29:14 2006
New Revision: 4550
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/lib/RT/Tickets_Overlay.pm
Log:
r23828 at truegrounds: jesse | 2006-02-16 18:27:41 -0800
* Fix for searching on global custom fields
Modified: rt/branches/3.5-TESTING/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.5-TESTING/lib/RT/Tickets_Overlay.pm (original)
+++ rt/branches/3.5-TESTING/lib/RT/Tickets_Overlay.pm Thu Feb 16 21:29:14 2006
@@ -1243,6 +1243,16 @@
TABLE2 => 'ObjectCustomFields',
FIELD2 => 'ObjectId',
);
+
+ $self->SUPER::Limit(
+ LEFTJOIN => $ocfalias,
+ ENTRYAGGREGATOR => 'OR',
+ FIELD => 'ObjectId',
+ VALUE => '0',
+
+ );
+
+
$CFs = $self->Join(
TYPE => 'left',
ALIAS1 => $ocfalias,
More information about the Rt-commit
mailing list