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

(-)a/tools/batchMod.pl (-2 / +1 lines)
Lines 388-394 foreach my $tag (sort keys %{$tagslib}) { Link Here
388
      else {
388
      else {
389
          push @authorised_values, ""; # unless ( $tagslib->{$tag}->{$subfield}->{mandatory} );
389
          push @authorised_values, ""; # unless ( $tagslib->{$tag}->{$subfield}->{mandatory} );
390
390
391
          my @avs = Koha::AuthorisedValues->search({ category => $tagslib->{$tag}->{$subfield}->{authorised_value}, branchcode => $branch_limit });
391
          my @avs = Koha::AuthorisedValues->search({ category => $tagslib->{$tag}->{$subfield}->{authorised_value}, branchcode => $branch_limit },{order_by=>'lib'});
392
          for my $av ( @avs ) {
392
          for my $av ( @avs ) {
393
              push @authorised_values, $av->authorised_value;
393
              push @authorised_values, $av->authorised_value;
394
              $authorised_lib{$av->authorised_value} = $av->lib;
394
              $authorised_lib{$av->authorised_value} = $av->lib;
395
- 

Return to bug 22022