[Koha-devel] ISBN search

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Mon Jul 12 09:42:39 CEST 2010


Searching with nb: <isbn> works correctly.
Zebra log: 09:31:32-12/07 zebrasrv(8) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 9789080490468

Searching with ISBN in the search bar works too:
Log says: 09:33:18-12/07 zebrasrv(9) [request] Search biblios OK 1 1 1+0 RPN @attrset Bib-1 @attr 1=7 @attr 4=6 9789080490468

These results come from Koha 3.00.06.009

Van: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-bounces at lists.koha-community.org] Namens Fridolyn SOMERS
Verzonden: vrijdag 9 juli 2010 12:24
Aan: koha-devel at lists.koha-community.org
Onderwerp: [Koha-devel] ISBN search

Hie,

I noticed that when performing a search on ISBN index, search is made on any index.
The query that appears on result page is "nb: test", but the query performed by Zebra server is : "@attrset Bib-1 test".
It should be : "@attrset Bib-1 @att 1=7 test"

It comes from C4/Search.pm :
When index 'nb' detected, the flag $indexes_set is set to 1.
That means that index mus't be added to query.

Is is a normal behaviour ?

--
Fridolyn SOMERS
Information and Communication Technologies engineer
fridolyn.somers at gmail.com<mailto:fridolyn.somers at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20100712/d1ab3d03/attachment.htm>


More information about the Koha-devel mailing list