From bb9b4a156c498e9face66cc884f59a91b243d28c 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. Signed-off-by: Amit Gupta --- 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 f3aab65..e3d50aa 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 %] [% 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 78e31de..f8a52ac 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.7.4