From 6d51b74ff22384fb302ba2796b08465defa59aff 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 4 ++++ .../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 f8d2ee7286..7958e89d26 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 1eade1036c..7053d81a25 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.39.5