Bug 18074

Summary: Advanced Editor - Rancor - hardcoded z39 attributes can cause issues
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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?