Merge remote branch 'kc/new/bug_3319' into kcmaster
[koha_gimpoz] / cataloguing / additem.pl
index 791907f..c5dd7d9 100755 (executable)
@@ -612,6 +612,7 @@ foreach my $tag ( keys %{$tagslib}){
         } 
   }
 }
+@loop_data = sort {$a->{subfield} cmp $b->{subfield} } @loop_data;
 
 # what's the next op ? it's what we are not in : an add if we're editing, otherwise, and edit.
 $template->param( title => $record->title() ) if ($record ne "-1");