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

--- Comment #3 from Ian Walls <[email protected]> 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to