From b9e8b50b50b2b47bb176bdaac412afbe46b4a567 Mon Sep 17 00:00:00 2001 From: Cori Lynn Arnold Date: Wed, 18 Dec 2019 18:18:59 +0000 Subject: [PATCH] Bug 24173: Advanced Editor: Show subtitle & published date on the search page To test: Prior to patch: 1/Verify that EnableAdvancedCatalogingEditor syspref is set to "enable" 2/Go to Cataloging 3/Click on "Advanced Editor" button 4/In left hand box put "specious" under Keywords and hit "enter" 5/verify that "Library of Congress" (or some other server) Z39.50 is checked 6/Verify that there are no headings for "Subtitle" and "Published" Apply Patch 1/Go to Administration->Koha to MARC mapping 2/Add or verify that there are entries for "biblio.subtitle" and "biblio.copyrightdate" 3/Go to Cataloging 4/Click on "Advanced Editor" button 5/In left hand box put "specious" under Keywords and hit "enter" 6/verify that "Library of Congress" (or some other server) Z39.50 is checked 7/Verify that there are headings for "Subtitle" and "Published" and the data matches with the fields from Koha to MARC mapping when you click on "View MARC" link for that record. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- Koha/MetaSearcher.pm | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Koha/MetaSearcher.pm b/Koha/MetaSearcher.pm index 65f72398a7..280d1b24c0 100644 --- a/Koha/MetaSearcher.pm +++ b/Koha/MetaSearcher.pm @@ -62,6 +62,7 @@ sub handle_hit { my %fetch = ( title => 'biblio.title', + subtitle => 'biblio.subtitle', seriestitle => 'biblio.seriestitle', author => 'biblio.author', isbn =>'biblioitems.isbn', diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 78d1f502f1..17aa8b043b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -59,6 +59,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr var z3950Labels = [ [ "local_number", _("Local number") ], [ "title", _("Title") ], + [ "subtitle",_("Subtitle") ], [ "series", _("Series title") ], [ "author", _("Author") ], [ "lccn", _("LCCN") ], @@ -66,6 +67,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr [ "issn", _("ISSN") ], [ "medium", _("Medium") ], [ "edition", _("Edition") ], + [ "date", _("Published") ], [ "notes", _("Notes") ], ]; -- 2.11.4.GIT