a529262501
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 |
||
---|---|---|
.. | ||
Labels | ||
LDAP | ||
lib | ||
needs_user_input | ||
Accounts.t | ||
Acquisition.t | ||
Amazon.t | ||
Auth.t | ||
Auth_with_cas.t | ||
BackgroundJob.t | ||
Barcodes.t | ||
Biblio.t | ||
Budgets.t | ||
Circulation.t | ||
Context.t | ||
Csv.t | ||
database_dependent.pl | ||
External_BakerTaylor.t | ||
Koha.t | ||
Koha_template_plugin_KohaDates.t | ||
Log.t | ||
Members.t | ||
Record.t | ||
Reports.t | ||
Reports_Guided.t | ||
Reserves.t | ||
Search.t | ||
Serials.t | ||
Serials_2.t | ||
Service.t | ||
SIP_ILS.t | ||
SQLHelper.t | ||
Suggestions.t | ||
sysprefs.t | ||
Tags.t | ||
UploadedFile.t | ||
VirtualShelves.t | ||
VirtualShelves_Page.t | ||
XISBN.t |