[Koha-bugs] [Bug 9472] subfields in order when cataloging

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 8 14:09:56 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9472

--- Comment #5 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to M. de Rooy from comment #4)
> (In reply to Jonathan Druart from comment #3)
> > Sort of all subfields for a tag, and not for all tags.
> > What is the right solution if this is not the one?
> 
> Good question :)
> I am not aware of UNIMARC specifics here, but in MARC21 there are quite some
> fields with constructions like this:
> 100a - 100q - 100d
> The order should not be alphabetical by default and for all tags.

Yes, I am aware of that.
But actually, against master, the display is:
  all subfields, alphabetically sorted, present in the record
followed by:
  all subfields, alphabetically sorted, non present in the record.

(search for foreach my $subfield ( sort( keys %{ $tagslib->{$tag} } ) ) ~
l.600-700)

This patch just suggests to display all subfields, alphabetically sorted.
Which makes more sense.

If my dsecription of how it works on master is wrong, my patch is certainly
wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list