Bug 24173: Advanced Editor: Show subtitle & published date on the search page
authorCori Lynn Arnold <carnold@dgiinc.com>
Wed, 18 Dec 2019 18:18:59 +0000 (18:18 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Jan 2020 16:21:29 +0000 (16:21 +0000)
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 <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/MetaSearcher.pm
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc

index 65f7239..280d1b2 100644 (file)
@@ -62,6 +62,7 @@ sub handle_hit {
 
     my %fetch = (
         title => 'biblio.title',
+        subtitle => 'biblio.subtitle',
         seriestitle => 'biblio.seriestitle',
         author => 'biblio.author',
         isbn =>'biblioitems.isbn',
index 78d1f50..17aa8b0 100644 (file)
@@ -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") ],
     ];