Commit 641648fe authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Sort Templates, Actions and Conditions by Name, as suggested by Steve Turner

git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/branches/3.6-RELEASE@9870 e417ac7c-1bcc-0310-8ffa-8f5827389a85
parent 8e0ffb33
......@@ -60,6 +60,7 @@
<%INIT>
my $ScripActions = RT::ScripActions->new($session{'CurrentUser'});
$ScripActions->UnLimit;
$ScripActions->OrderBy(FIELD => 'Name');
......
......@@ -60,7 +60,7 @@
<%INIT>
my $ScripConditions = RT::ScripConditions->new($session{'CurrentUser'});
$ScripConditions->UnLimit;
$ScripConditions->OrderBy(FIELD => 'Name');
</%INIT>
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment