@@ -, +, @@ Hats, Cats) --- tools/batch_record_modification.pl | 1 + tools/marc_modification_templates.pl | 2 ++ tools/stage-marc-import.pl | 1 + 3 files changed, 4 insertions(+) --- a/tools/batch_record_modification.pl +++ a/tools/batch_record_modification.pl @@ -67,6 +67,7 @@ if ( $completedJobID ) { } my @templates = GetModificationTemplates( $mmtid ); +@templates = sort { lc $a->{name} cmp lc $b->{name} } @templates; unless ( @templates ) { $op = 'error'; $template->param( --- a/tools/marc_modification_templates.pl +++ a/tools/marc_modification_templates.pl @@ -118,6 +118,8 @@ unless ( $template_id ) { @templates = GetModificationTemplates( $template_id ); } +@templates = sort { lc $a->{name} cmp lc $b->{name} } @templates; + my @actions = GetModificationTemplateActions( $template_id ); foreach my $action ( @actions ) { $action->{'action_delete_field'} = ( $action->{'action'} eq 'delete_field' ); --- a/tools/stage-marc-import.pl +++ a/tools/stage-marc-import.pl @@ -203,6 +203,7 @@ if ($completedJobID) { $template->param( available_matchers => \@matchers ); my @templates = GetModificationTemplates(); + @templates = sort { lc $a->{name} cmp lc $b->{name} } @templates; $template->param( MarcModificationTemplatesLoop => \@templates ); if ( C4::Context->preference('UseKohaPlugins') && --