Koha/koha-tmpl/intranet-tmpl/prog/en
Katrin Fischer a529262501 Bug 7576: Add ISSN to SearchForTitleIn preference
Adds a new placeholder {ISSN} to the system preference SearchForTitleIn.
For a record with multiple ISSNs only the first ISSN will be used.

Addition: Makes a small change to GetMarcControlnumber so that it checks for
NORMARC too. If you set your system preference to NORMARC, it should output
{CONTROLNUMBER} correctly now.

For testing add following code to the system preference and check output
of SearchForTitleIn for different records in your OPAC and all 3 available
views (normal, MARC and ISBD):
<li>ISSN: {ISSN}</li>
<li>ISBN: {ISBN}</li>
<li>001: {CONTROLNUMBER}</li>

Patch also includes some unit tests:
perl t/db_dependent/Biblio.t

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Tested with marcflavour = NORMARC, on one book and one periodical record.

* Book

- Before the patch:
ISSN: {ISSN}
ISBN: 0375726446
001:

- After the patch:
ISSN:
ISBN: 0375726446
001: 022976914

* Journal

- Before the patch:
ISSN: {ISSN}
ISBN:
001:

- After the patch:
ISSN: 1890-6931
ISBN:
001: 080721370

Looks good in all 3 views! Thanks for fixing the 001 thing for NORMARC!

Also tested with marcflavour = MARC21, on the same records with the same good
results. Signing off!

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Tested marcflavour= UNIMARC, works fine too
2012-02-27 11:44:20 +01:00
..
css Merge remote-tracking branch 'origin/new/bug_6865' 2012-02-10 16:09:19 +01:00
includes Bug 7113: Standardize vendor id name in templates and scripts 2012-02-17 19:04:00 +01:00
js Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds 2012-02-17 19:22:49 +01:00
lib Bug 6836: Add jQuery dataTables plugin 2012-01-27 11:33:11 +01:00
modules Bug 7576: Add ISSN to SearchForTitleIn preference 2012-02-27 11:44:20 +01:00
xslt Bug 6496 - tidy the display of 710 fields on XSLT 2012-02-17 18:57:41 +01:00
columns.def Bug 5268: Change all occurances of 'debar' to 'restrict' 2011-06-07 11:28:01 +12:00