Bug 19548

Summary: Search Result Second page not available
Product: Koha Reporter: Rainer Stowasser <rainer.stowasser>
Component: Z39.50 / SRU / OpenSearch ServersAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, m.de.rooy
Version: unspecified   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Rainer Stowasser 2017-10-31 09:54:44 UTC
With the SRU/Z39.50 search 
using a quotation mark
has the interesting effect that the first page of a result is displayed
but a second page is not available.

Looking at the pl source 
it seems that quotation marks are used and escaped for the first page
but not for a second recall.
Comment 1 Jonathan Druart 2017-11-02 11:46:48 UTC
Which version of Koha are you using?
Can you give us an example of title with quotation mark to search for?
Comment 2 Rainer Stowasser 2017-11-03 13:12:36 UTC
Version tested:

Our operational System
16.05.02.000  Linux vbib 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64

Our test System
17.05.04.000 Linux vbib-dev 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64

The search string does not matter (tested for space in the brackets)
it works for all quotations

simply try "test" :-)
Comment 3 Jonathan Druart 2017-11-06 14:19:11 UTC
If I search for "test" (with quotation marks), I do not get any results at all.
Could you give us more details to recreation the issue?
Comment 4 Rainer Stowasser 2017-11-06 15:01:11 UTC
Then I have to enlarge the bug ;-)

Library of Congress SRU gives NOTHING
(you are right, but is this intended ?)

Deutsche Natiional Bibliothek SRU services.dnb.de:80 
gives the result Ive described

Search Terms:
meteorology
"meteorology"

Ive looked at /usr/share/koha/intranet/cgi-bin/cataloguing/z3950_search.pl
and as I understands it its the same for z39.50 and SRU

so if I want to fiddle its the right place to look right ?
Comment 5 Jonathan Druart 2017-11-06 16:03:15 UTC
Can you paste the complete configuration of the SRU server you configured?
Comment 6 Rainer Stowasser 2017-11-09 13:14:31 UTC
You need an account (its free but you have to register)
the ip-range of my institution can access (so no username and password)

Hostname services.dnb.de
Port 80
database sru/dnb
Syntax MARC21/USMARC
Coding UTF8
Options sru=get,sru_version=1.1, schema=MARC21-xml

and the mapping of the Fields


Titel: dnb.tit
ISBN:  dnb.num
Controlnumber: dnb.idn
free Text: dnb.woe
Author: dnb.atr
ISSN:  dnb.num
Keyword: dnb.sw
Dewey: dnb.ddc
Standard-ID: dnb.idn
Comment 7 Katrin Fischer 2024-03-17 21:28:40 UTC
Registration is no longer necessary for using the DNB SRU server, so this could be better tested now.