View | Details | Raw Unified | Return to bug 15669
Collapse All | Expand All

(-)a/tools/batch_record_modification.pl (+1 lines)
Lines 67-72 if ( $completedJobID ) { Link Here
67
}
67
}
68
68
69
my @templates = GetModificationTemplates( $mmtid );
69
my @templates = GetModificationTemplates( $mmtid );
70
@templates = sort { lc $a->{name} cmp lc $b->{name} } @templates;
70
unless ( @templates ) {
71
unless ( @templates ) {
71
    $op = 'error';
72
    $op = 'error';
72
    $template->param(
73
    $template->param(
(-)a/tools/marc_modification_templates.pl (+2 lines)
Lines 118-123 unless ( $template_id ) { Link Here
118
  @templates = GetModificationTemplates( $template_id );
118
  @templates = GetModificationTemplates( $template_id );
119
}
119
}
120
120
121
@templates = sort { lc $a->{name} cmp lc $b->{name} } @templates;
122
121
my @actions = GetModificationTemplateActions( $template_id );
123
my @actions = GetModificationTemplateActions( $template_id );
122
foreach my $action ( @actions ) {
124
foreach my $action ( @actions ) {
123
  $action->{'action_delete_field'} = ( $action->{'action'} eq 'delete_field' );
125
  $action->{'action_delete_field'} = ( $action->{'action'} eq 'delete_field' );
(-)a/tools/stage-marc-import.pl (-1 / +1 lines)
Lines 203-208 if ($completedJobID) { Link Here
203
    $template->param( available_matchers => \@matchers );
203
    $template->param( available_matchers => \@matchers );
204
204
205
    my @templates = GetModificationTemplates();
205
    my @templates = GetModificationTemplates();
206
    @templates = sort { lc $a->{name} cmp lc $b->{name} } @templates;
206
    $template->param( MarcModificationTemplatesLoop => \@templates );
207
    $template->param( MarcModificationTemplatesLoop => \@templates );
207
208
208
    if ( C4::Context->preference('UseKohaPlugins') &&
209
    if ( C4::Context->preference('UseKohaPlugins') &&
209
- 

Return to bug 15669