ignore the native catalog search when processing async z39 results
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Sep 2008 13:20:11 +0000 (13:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Sep 2008 13:20:11 +0000 (13:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10680 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Z3950.pm

index 961f674..fc2f672 100755 (executable)
@@ -194,6 +194,9 @@ sub do_class_search {
     return undef unless (@connections);
        my @records;
 
+    # local catalog search is not processed with other z39 results;
+    $$args{service} = [grep {$_ ne 'native-evergreen-catalog'} @{$$args{service}}];
+
        while ((my $index = OpenILS::Utils::ZClient::event( \@connections )) != 0) {
                my $ev = $connections[$index - 1]->last_event();
                $logger->debug("z3950: Received event $ev");