projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94bd7ad
)
Bug 4263: Fix subfield ordering broken by earlier patch
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Thu, 10 Feb 2011 20:13:12 +0000
(15:13 -0500)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Sun, 13 Feb 2011 20:05:33 +0000
(09:05 +1300)
Restores alpha sorting of item subfields in add/edit screen
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
cataloguing/additem.pl
patch
|
blob
|
history
diff --git
a/cataloguing/additem.pl
b/cataloguing/additem.pl
index
791907f
..
c5dd7d9
100755
(executable)
--- 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");