[Rt-commit] r18679 - rt/3.999/trunk/lib/RT/Model
ruz at bestpractical.com
ruz at bestpractical.com
Wed Mar 4 20:39:09 EST 2009
Author: ruz
Date: Wed Mar 4 20:39:09 2009
New Revision: 18679
Modified:
rt/3.999/trunk/lib/RT/Model/TicketCollection.pm
Log:
* use left joins for role groups as those are not always there this time
Modified: rt/3.999/trunk/lib/RT/Model/TicketCollection.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/TicketCollection.pm (original)
+++ rt/3.999/trunk/lib/RT/Model/TicketCollection.pm Wed Mar 4 20:39:09 2009
@@ -969,6 +969,7 @@
# we always have watcher groups for ticket, so we use INNER join
my $groups = $self->join(
+ type => 'LEFT',
alias1 => 'main',
column1 => $args{'class'} eq 'queue' ? 'queue' : 'id',
table2 => RT::Model::GroupCollection->new,
More information about the Rt-commit
mailing list