[Rt-commit] r18126 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Feb 2 03:38:48 EST 2009


Author: sunnavy
Date: Mon Feb  2 03:38:48 2009
New Revision: 18126

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/TicketCollection.pm

Log:
 r19434 at sunnavys-mb:  sunnavy | 2009-02-02 15:47:54 +0800
 fixed role name in lib/RT/Model/TicketCollection.pm


Modified: rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/TicketCollection.pm
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/TicketCollection.pm	(original)
+++ rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/TicketCollection.pm	Mon Feb  2 03:38:48 2009
@@ -983,8 +983,9 @@
         leftjoin => $groups,
         alias    => $groups,
         column   => 'domain',
-        value    => 'RT::' . $args{'class'} . '-Role',
-        
+        value => 'RT::Model::'
+          . renaming( $args{'class'}, { convention => 'UpperCamelCase' } )
+          . '-Role',
     );
     $self->SUPER::limit(
         leftjoin => $groups,


More information about the Rt-commit mailing list