From: Mike Taylor Date: Tue, 11 May 2010 15:18:21 +0000 (+0100) Subject: Correct passing of options hash on second and subsequent searches. X-Git-Tag: CPAN-v1.02~57 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b52e41236c43f33b04e8372c38d6ec3b7c708e1f;p=irspy-moved-to-github.git Correct passing of options hash on second and subsequent searches. --- diff --git a/lib/ZOOM/IRSpy/Test/Record/OPAC.pm b/lib/ZOOM/IRSpy/Test/Record/OPAC.pm index 727097c..2009750 100644 --- a/lib/ZOOM/IRSpy/Test/Record/OPAC.pm +++ b/lib/ZOOM/IRSpy/Test/Record/OPAC.pm @@ -65,7 +65,7 @@ sub completed_search { if !defined $q || $conn->record->zoom_error->{TIMEOUT} >= $ZOOM::IRSpy::max_timeout_errors; $conn->log("irspy_test", "Trying another search ..."); - $conn->irspy_search_pqf($queries[$qindex], { queryindex => $qindex }, %options, + $conn->irspy_search_pqf($queries[$qindex], { queryindex => $qindex }, \%options, ZOOM::Event::ZEND, \&completed_search, exception => \&completed_search); return ZOOM::IRSpy::Status::TASK_DONE;