From ea2ace41a44cba0485be9e7cbece5e4782d2ad38 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 10 Feb 2011 15:13:12 -0500 Subject: [PATCH] Bug 4263: Fix subfield ordering broken by earlier patch Restores alpha sorting of item subfields in add/edit screen Signed-off-by: Nicole Engard Signed-off-by: Chris Cormack --- cataloguing/additem.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 791907f055..c5dd7d9efc 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -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"); -- 2.39.5