Ok, thanks. I known the problem now. In tag *3.00.06*, in Search.pm, lines with "$indexes_set++" are in comment. They are not in comment in revision *3.2 alpha 2* and neither in HEAD. I can't find when is has been set in comment. Still, I think it is a bug. On Mon, Jul 12, 2010 at 9:42 AM, Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>wrote:
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
-- Fridolyn SOMERS Information and Communication Technologies engineer +33(0)6.86.63.77.68 fridolyn.somers@gmail.com