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 <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Cori Lynn Arnold 2019-12-18 18:18:59 +00:00 committed by Martin Renvoize
parent 2b1ea752a9
commit b9e8b50b50
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 3 additions and 0 deletions

View 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',

View 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") ],
];