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@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] Namens Fridolyn SOMERS
Verzonden: vrijdag 9 juli 2010 12:24
Aan: koha-devel@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@gmail.com