Bug 18074 - Advanced Editor - Rancor - hardcoded z39 attributes can cause issues
Summary: Advanced Editor - Rancor - hardcoded z39 attributes can cause issues
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 15:44 UTC by Nick Clemens (kidclamp)
Modified: 2017-02-07 20:51 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2017-02-07 15:44:28 UTC
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js

 25     var _pqfMapping = {
 26         author: '1=1004', // s=al',
 27         cn_dewey: '1=13',
 28         cn_lc: '1=16',
 29         date: '1=30', // r=r',
 30         isbn: '1=7',
 31         issn: '1=8',
 32         lccn: '1=9',
 33         local_number: '1=12',
 34         music_identifier: '1=51',
 35         standard_identifier: '1=1007',
 36         subject: '1=21', // s=al',
 37         term: '1=1016', // t=l,r s=al',
 38         title: '1=4', // s=al',
 39     }

1004 is not universally supported and can cause searches to fail in some instances, we should possibly use 1=1 or make rancor use zebra config files
Comment 1 Katrin Fischer 2017-02-07 20:51:58 UTC
Maybe we could make it configurable with default settings that can be changed?