Bug 8680 Z39.50 ISBN Search is problematic and there is a missing ISSN field.
authorJoseph Alway <jbalway@gmail.com>
Thu, 20 Sep 2012 17:39:28 +0000 (12:39 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 8 Oct 2012 15:56:36 +0000 (17:56 +0200)
commitb769a3cda041d3e9d8f967a1e1f394caf686c9ad
tree0c10acd71f1b0881823e1ff7576b81194a3e6b26
parent17298c2042ee5b9cd14e9b7c12dea32c1b282b98
Bug 8680 Z39.50 ISBN Search is problematic and there is a missing ISSN field.

The changes here are duplicate fixes.
The cataloguing directory had the same bugs as the acqui directory.
The bugs in the cataloguing files of the same name were fixed in Bug 8550.
The bugs in the acqui files had not been fixed.
This will fix Bug 8680 which is in the Acquisitions Module.

Changes to the z3950_search.pl file:
Rather than treating ISBN and ISSN as the same, this patch breaks
them out into separate parts of the query, as well as changing
the truncation attribute to enable right truncation (the correct
behavior for the ISBN field in MARC21, and valid behavior in
UNIMARC).

Changes to the z3950_search.tt file:
Sometime in 2009 or so, the ISSN field was removed from the Z39.50 search
page, and the ISBN field replaced with a combined ISBN/ISSN field. Since
this breaks ISBN search for most Z39.50 targets (due to the
differing treatment of ISBN vs. ISSN), this is a bug not a feature.

Signed-off-by: Marc Veron <veron@veron.ch>
Works as expected.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
acqui/z3950_search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt