sanop specific : sorting itemtype
should not be ported to head, as it's a dirty unimarc hack, that will disappear with itemtype at item level
This commit is contained in:
parent
5022a8583a
commit
afe4ecb94e
|
|
@ -266,7 +266,7 @@ sub import_biblios_list {
|
|||
# Itemtype is mandatory for adding a biblioitem, we just add a default, the user needs to modify this aftewards
|
||||
my $itemtypehash = GetItemTypes();
|
||||
my @itemtypes;
|
||||
for my $key (keys %$itemtypehash) {
|
||||
for my $key (sort { $itemtypehash->{$a}->{description} cmp $itemtypehash->{$b}->{description} } keys %$itemtypehash) {
|
||||
push(@itemtypes, $itemtypehash->{$key});
|
||||
}
|
||||
foreach my $biblio (@$biblios) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue