[freeside-commits] freeside/rt/lib/RT Ticket_Overlay.pm,1.15,1.16
Ivan,,,
ivan at wavetail.420.am
Thu Sep 9 23:17:06 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/lib/RT
In directory wavetail.420.am:/tmp/cvs-serv15733
Modified Files:
Ticket_Overlay.pm
Log Message:
fix for spurious customers appearing, thanks to Erik L
Index: Ticket_Overlay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Ticket_Overlay.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- Ticket_Overlay.pm 28 Jul 2010 19:32:58 -0000 1.15
+++ Ticket_Overlay.pm 10 Sep 2010 06:17:04 -0000 1.16
@@ -2312,6 +2312,16 @@
return $links;
}
+ # without this you will also get RT::User(s) instead of tickets!
+ if ($field == 'Base' and $type == 'MemberOf') {
+ my $rtname = RT->Config->Get('rtname');
+ $links->Limit(
+ FIELD => 'Base',
+ OPERATOR => 'STARTSWITH',
+ VALUE => "fsck.com-rt://$rtname/ticket/",
+ );
+ }
+
# Maybe this ticket is a merge ticket
my $limit_on = 'Local'. $field;
# at least to myself
More information about the freeside-commits
mailing list