Bug 9986: Two fixes for Z3950 search
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 3 Apr 2013 14:36:25 +0000 (16:36 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 15 Apr 2013 12:44:11 +0000 (08:44 -0400)
commitaff9d00b71ed298db7b4d06390f5d3cb23765732
treed65b867f8a5a0d3f0ccfd0c15a7ceb8985471f95
parentcb50e7679af82a1c7c435b204d6a4bf5d9bcd2dd
Bug 9986: Two fixes for Z3950 search

Searching for stdid: Standard ID, srchany: RAW (any) somehow did not work
anymore.
Probably my fault :) Note that these two fields are in Cataloging Z3950 search
and not in Acquisition.

Fixing encoding problems: When adding -utf flag for CGI in acqui/z3950 and
cataloging/z3950, the decoding statements in C4/Breeding, Z3950Search should be
removed.

Test plan:
Search in Cataloging with:
Standard ID: 9782358670043 on LOC
RAW (any): musee [add an accent aigu on first e]  on LOC  -- Add diacritic!!!

Search in Acquisition
Somewhere, does not matter, but use a diacritic.

A note: My git version still has a hard time with utf8. Need to upgrade to version 1.7.10 to resolve this..

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work as described. No errors
Without patch z39.50 search for example Std ID OR musee gives no results,
with patch there are.
No problems in acq search.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Good catch, passes all tests and QA script.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Breeding.pm
acqui/z3950_search.pl
cataloguing/z3950_search.pl