@@ -, +, @@
authority type
- Create a new authority type
- Click MARC structure
- Verify the pull down has only 1 entry for Default
- Go on the authority type home (admin/authtypes.pl)
- Click on the "MARC structure" link for the default type
- Verify the pull down has only 1 entry for Default
---
admin/auth_tag_structure.pl | 3 ++-
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
--- a/admin/auth_tag_structure.pl
+++ a/admin/auth_tag_structure.pl
@@ -57,7 +57,7 @@ my ($template, $loggedinuser, $cookie)
# get authtype list
my $authtypes = getauthtypes;
my @authtypesloop = ();
-foreach my $thisauthtype ( keys %{$authtypes} ) {
+foreach my $thisauthtype ( sort keys %{$authtypes} ) {
push @authtypesloop,
{ value => $thisauthtype,
selected => $thisauthtype eq $authtypecode,
@@ -209,6 +209,7 @@ if ($op eq 'add_form') {
push @existingauthtypeloop,\%line;
}
}
+ @existingauthtypeloop = sort @existingauthtypeloop;
$template->param(existingauthtypeloop => \@existingauthtypeloop,
authtypecode => $authtypecode,
);
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt
@@ -192,7 +192,6 @@ return false;
Create authority framework for [% authtypecode %] using