[Koha-bugs] [Bug 3216] UNIMARC author facets
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 2 15:14:51 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3216
--- Comment #3 from Ian Walls <ian.walls at bywatersolutions.com> 2011-12-02 14:14:51 UTC ---
This looks like it would work for UNIMARC 700 pretty well... but not so much
for MARC21 650. The separator is hardcoded to ", "; for MARC21 650, it should
be '--' usually.
Also, if we removed the specific subfield hash key in getFacets, and attached
the subfields directly to the fields, we'd be able to handle Item Type facets
and any other condition where the faceted information is in different subfields
of different fields:
Examples:
UNIMARC 700
{
link_value => 'au',
label_value => 'Authors',
tags => [ '700ab', '701ab', '702ab', ],
subfield_sep => ', ',
}
MARC21 650
{
link_value => 'su-to',
label_value => 'Topics',
tags => ['650abvxyz'],
subfield_sep => '--',
} # this still won't solve the issue of ordering the subfields
Item Types (MARC21)
{
link_value => 'itype',
label_value => 'Item Types',
tags => ['942c, 952y'],
subfield_sep => '',
},
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list