Bug 25277: Don't specify a field in query if none passed
authorNick Clemens <nick@bywatersolutions.com>
Fri, 24 Apr 2020 13:34:31 +0000 (13:34 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 19 May 2020 22:57:25 +0000 (22:57 +0000)
commit1f71114d9b56e1aed8fc8582d7fbcbdb41a18e8e
treeae5e09eb7e7edba0f57c85450ad236715b3237ea
parent25ad50b252941e96541dc2d056559159b7d9dcc2
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Koha/Z3950Responder/RPN.pm
etc/z3950/attribute_mappings.yaml