[Koha-bugs] [Bug 8252] New: Error in DOM biblio for UNIMARC (no range for fields 1xx)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 15 15:44:29 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8252
          Assignee: paul.poulain at biblibre.com
            Blocks: 7818
           Summary: Error in DOM biblio for UNIMARC (no range for fields
                    1xx)
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: paul.poulain at biblibre.com
          Hardware: All
            Status: ASSIGNED
           Version: master
         Component: Searching
           Product: Koha

The biblio-koha-indexdefs.xml in case of UNIMARC is wrong for coded fields
(1xx)
For example, the 100 field says:
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs"
tag="100" subfields="a">
    <target_index>tpubdate:s</target_index>
    <target_index>ta:w</target_index>
    <target_index>ta:w</target_index>
    <target_index>ta:w</target_index>
    <target_index>Modified-code:n</target_index>
    <target_index>ln:s</target_index>
    <target_index>char-encoding:n</target_index>
    <target_index>char-encoding:n</target_index>
    <target_index>char-encoding:n</target_index>
    <target_index>script-Title:n</target_index>
  </index_subfields>

We should use ranges like what it made for MARC21:
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs"
tag="007" offset="0" length="1">
    <target_index>ff7-00:w</target_index>
  </index_control_field>

and use offset and length

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


More information about the Koha-bugs mailing list