use the correct access method for the id list
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 1 Mar 2008 16:41:30 +0000 (16:41 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 1 Mar 2008 16:41:30 +0000 (16:41 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8849 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm

index 1595642..ed77e54 100644 (file)
@@ -1334,7 +1334,7 @@ sub sru_search {
                        'open-ils.search.biblio.multiclass.query' => {} => $search_string
                )->gather(1);
 
-        $recs = $supercat->request( 'open-ils.supercat.record.object.retrieve' => $recs->{ids} )->gather(1);
+        $recs = $supercat->request( 'open-ils.supercat.record.object.retrieve' => [ map { $_->[0] } @{$recs->{ids}} ] )->gather(1);
 
         $resp->addRecord(
             SRU::Response::Record->new(