https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43860

            Bug ID: 43860
           Summary: Cataloging search results: bibliographic data shown in
                    arbitrary order, not following ISBD
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

In the cataloging search results (Cataloging > search box,
cataloguing/addbooks.pl), the line under the title shows the bibliographic data
in an arbitrary order that does not follow ISBD, and with inconsistent
punctuation:

  Author - ISBN - Year - Publisher - Copyright Edition: X; Place - Extent; Size

- The ISBN comes before the publication data.
- The place of publication is separated from the publisher and shown after the
edition.
- The edition statement is glued to the previous element, with no separator.
- The year is repeated when copyrightdate is the same as publicationyear.
- If there is no extent, the size starts with ";".

On top of that, MARC subfields usually carry the ISBD punctuation that was
catalogued (264$a "New York, NY :", 264$b "Vision,", 300$a "501 p. ;"), so the
separators added by the template duplicate it. Some records have the
punctuation at the start of the next subfield instead (264$b ": Publisher",
300$c "; 30 cm"), with the same result.

Example (MARC21, 264 _1 $a New York, NY : $b Vision, / 250 $a First oversize
mass market edition. / 300 $a 501 p. ; $c 19 cm.):

  Connelly, Michael. - 9781455524181 - Vision, Edition: First oversize mass
market edition. ; New York, NY : - 501 p. ; ; 19 cm.

The display has not changed since the templates were moved to Template Toolkit
(bug 5917). Bug 15649 already pointed out display problems on this page, and
comment #1 there says "The whole display should be revised".

Proposal: show the data following the order of the ISBD areas:

  Author - Edition: X - Place : Publisher, Date - Extent ; Size - ISBN

- The publication area is grouped as "Place : Publisher, Date", with separators
only between the elements that are present, wrapped in <span
class="results_publication"> so it can be styled.
- copyrightdate is only shown if it differs from publicationyear.
- Size is preceded by " ; " if there is an extent, or by "- " if there is not.
- ISBN at the end.
- Leading and trailing ISBD punctuation (: ; , / = and spaces; also "." on
dates and "+" on extent/size) is stripped from each element before building the
line, so the template does not duplicate it.

Same record with the proposal:

  Connelly, Michael. - Edition: First oversize mass market edition. - New York,
NY : Vision - 501 p. ; 19 cm. - 9781455524181

This is a template-only change (cataloguing/addbooks.tt), with no Perl or data
changes. It has been validated on the staging server of a Spanish library
network.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to