Koha/etc/z3950/attribute_mappings.yaml
Nick Clemens 68bcc31dfc
Bug 25277: Don't specify a field in query if none passed
== test plan ==
To test:
0 - Have Koha running with ES 6 enabled
1 - Launch the z3950 responder:
    perl misc/z3950_responder.pl --config-dir /kohadevbox/koha/etc/z3950 --debug
2 - Connect using yaz-client:
    yaz-client localhost:2100
2.1 Alternative, if you add the responder as a Z39.50 server in Koha and
  do a catalogue Z39.50 search. Don't forget to search in the keywords
  field. Not the title field.
3 - base biblios
4 - find bruce
5 - No results
6 - Stop the responder
7 - Apply patch
8 - Repeat
9 - This time you get results

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-18 15:27:11 +01:00

44 lines
1 KiB
YAML

---
# Mappings from Z39.50 USE attributes to Koha search fields
authorities:
# BIB-1 use attributes to index fields
use:
1: Personal-name
2: Heading
3: Heading
9: LC-card-number
12: Local-number
biblios:
# BIB-1 use attributes to index fields
use:
1: author
2: author
3: author
4: title
5: se
7: isbn
8: issn
9: LC-card-number
10: bnb-card-number
11: bgf-number
12: Local-number
20: local-classification
21: subject
30:
- acqdate
- copydate
- pubdate
31: pubdate
32: acqdate
52: control-number
1003: author
1007: identifier-standard
1011: date-entered-on-file
1012: date-time-last-modified
1018: publisher
1019: record-source
1021: bib-level
1028: barcode
1031: itype
1033: Host-Item-Number
1045: control-number