https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11297
Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #47 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> --- Please look at the changed code: my ( $zquery, $squery ) = _build_query( $pars ); [...] foreach my $server ( @servers ) { if(my $attributes = $server->{attributes}){ $zquery = "$attributes $zquery"; } $oConnection[$s] = _create_connection( $server ); $oResult[$s] = $server->{servertype} eq 'zed'? $oConnection[$s]->search_pqf( $zquery ): $oConnection[$s]->search(new ZOOM::Query::CQL( _translate_query( $server, $squery ))); $s++; } After we build zquery, you start prefixing it each time with more server attributes. So the last server will get them all. Wrong ! Probably this was tested with one server at a time. But it might fail for a search on multiple servers. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/