From 3f82c7b82b28e041e2fdd3de25ef3d9079e218fa Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 17 Jul 2020 23:07:07 +0000 Subject: [PATCH] Bug 26014: Add publication year and edition to Z39.50 results in acquisition The publication year and edition columns were present in the Z39.50 results in cataloguing, but were missing in acquisitions. To test: - Go to acquisitions - Create a new basket - Create an order within it from 'external source' - Search for a title, for example with LOC - In a separate tab, go to cataloguing - Search the same record with Z39.50 - Compare result lists, date and edition are missing from acq - Apply the patch - Repeat search in acquisitions - Verify result lists now match up - Bonus: Date was changed to Year which is more fitting and will translate better. --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt index f3aab65199..e3d50aa92c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt @@ -106,6 +106,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Server Title Author + Year + Edition ISBN LCCN [% IF ( Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' ) %] @@ -121,6 +123,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% breeding_loo.server | html %]
Preview MARC Preview card [% tp('verb', 'Order') | html %] X
[% breeding_loo.title | html %] [% breeding_loo.author | html %] + [% breeding_loo.date | html %] + [% breeding_loo.edition | html %] [% breeding_loo.isbn | html %] [% breeding_loo.lccn | html %] [% IF ( Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 78e31de6bc..f8a52acb41 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -121,7 +121,7 @@ Server Title Author - Date + Year Edition ISBN LCCN -- 2.11.0