[Rt-commit] rtfm branch, master, updated. 2.4.3-49-gbb662cf

Kevin Falcone falcone at bestpractical.com
Mon Aug 15 16:32:46 EDT 2011


The branch, master has been updated
       via  bb662cfdae61117a25939829fcddf5410d15d059 (commit)
      from  10dead6c272af793689a3bc74328db6f63f539ab (commit)

Summary of changes:
 lib/RT/FM/Class_Overlay.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit bb662cfdae61117a25939829fcddf5410d15d059
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Aug 15 16:32:27 2011 -0400

    Sort Custom Fields during article creation

diff --git a/lib/RT/FM/Class_Overlay.pm b/lib/RT/FM/Class_Overlay.pm
index 591cd40..db2060e 100644
--- a/lib/RT/FM/Class_Overlay.pm
+++ b/lib/RT/FM/Class_Overlay.pm
@@ -230,6 +230,7 @@ sub ArticleCustomFields {
     if ( $self->CurrentUserHasRight('SeeClass') ) {
         $cfs->LimitToGlobalOrObjectId( $self->Id );
         $cfs->LimitToLookupType( RT::FM::Article->CustomFieldLookupType );
+        $cfs->ApplySortOrder;
     }
     return ($cfs);
 }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list