Bugzilla – Attachment 3123 Details for
Bug 4263
repeatable subfields in items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to restore sort order
0001-Bug-4263-Fix-subfield-ordering-broken-by-earlier-pat.patch (text/plain), 899 bytes, created by
Colin Campbell
on 2011-02-10 16:54:27 UTC
(
hide
)
Description:
Patch to restore sort order
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2011-02-10 16:54:27 UTC
Size:
899 bytes
patch
obsolete
>From 0ec4c9d8a6946fd89b3f56a0343182cf48000ef0 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Thu, 10 Feb 2011 16:49:20 +0000 >Subject: [PATCH] Bug 4263: Fix subfield ordering broken by earlier patch >Content-Type: text/plain; charset="utf-8" > >Restores alpha sorting of item subfields in add/edit screen >--- > cataloguing/additem.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 791907f..c5dd7d9 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"); >-- >1.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4263
:
3054
| 3123