[Rt-commit] r9870 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Mon Dec 10 13:45:31 EST 2007


Author: jesse
Date: Mon Dec 10 13:45:31 2007
New Revision: 9870

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripAction
   rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripCondition
   rt/branches/3.6-RELEASE/html/Admin/Elements/SelectTemplate

Log:
 r72954 at pinglin:  jesse | 2007-12-10 13:42:06 -0500
 * Sort Templates, Actions and Conditions by Name, as suggested by Steve Turner


Modified: rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripAction
==============================================================================
--- rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripAction	(original)
+++ rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripAction	Mon Dec 10 13:45:31 2007
@@ -60,6 +60,7 @@
 <%INIT>
 my $ScripActions = RT::ScripActions->new($session{'CurrentUser'});
 $ScripActions->UnLimit;
+$ScripActions->OrderBy(FIELD => 'Name');
 
 
 

Modified: rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripCondition
==============================================================================
--- rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripCondition	(original)
+++ rt/branches/3.6-RELEASE/html/Admin/Elements/SelectScripCondition	Mon Dec 10 13:45:31 2007
@@ -60,7 +60,7 @@
 <%INIT>
 my $ScripConditions = RT::ScripConditions->new($session{'CurrentUser'});
 $ScripConditions->UnLimit;
-
+$ScripConditions->OrderBy(FIELD => 'Name');
 
 
 </%INIT>

Modified: rt/branches/3.6-RELEASE/html/Admin/Elements/SelectTemplate
==============================================================================
--- rt/branches/3.6-RELEASE/html/Admin/Elements/SelectTemplate	(original)
+++ rt/branches/3.6-RELEASE/html/Admin/Elements/SelectTemplate	Mon Dec 10 13:45:31 2007
@@ -69,10 +69,12 @@
 my $PrimaryTemplates = RT::Templates->new($session{'CurrentUser'});
 if ($Queue != 0) {
 $PrimaryTemplates->LimitToQueue($Queue);
+$PrimaryTemplates->OrderBy(FIELD => 'Name');
 }
 
 my $OtherTemplates = RT::Templates->new($session{'CurrentUser'});
 $OtherTemplates->LimitToGlobal($DefaultQueue);
+$OtherTemplates->OrderBy(FIELD => 'Name');
 
 </%INIT>
 <%ARGS>


More information about the Rt-commit mailing list