[Rt-commit] [svn] r1261 - rtfm/trunk/lib/RT/FM

alexmv at pallas.eruditorum.org alexmv at pallas.eruditorum.org
Fri Jul 16 20:02:28 EDT 2004


Author: alexmv
Date: Fri Jul 16 20:02:28 2004
New Revision: 1261

Modified:
   rtfm/trunk/lib/RT/FM/CustomFieldCollection_Overlay.pm
Log:
 * Sort class custom fields by the order given in the ClassCustomField category


Modified: rtfm/trunk/lib/RT/FM/CustomFieldCollection_Overlay.pm
==============================================================================
--- rtfm/trunk/lib/RT/FM/CustomFieldCollection_Overlay.pm	(original)
+++ rtfm/trunk/lib/RT/FM/CustomFieldCollection_Overlay.pm	Fri Jul 16 20:02:28 2004
@@ -51,9 +51,7 @@
                  VALUE           => $class,
                  ENTRYAGGREGATOR => 'OR' );
     
-    # This doesn't work on postgres. 
-    #$self->OrderBy( ALIAS => $class_cfs , FIELD => "SortOrder", ORDER => 'ASC');
-
-    }
+    $self->OrderBy( ALIAS => $class_cfs , FIELD => "SortOrder", ORDER => 'ASC');
+}
 
 1;


More information about the Rt-commit mailing list