From b631aab4b9ce5b8e0611cf7a5da27b4986e872a7 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 13 Jul 2006 22:01:53 +0000 Subject: [PATCH] updated some calls work with cstore git-svn-id: svn://svn.open-ils.org/ILS/trunk@4991 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm index e8f6dac195..d10309452e 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm @@ -53,7 +53,7 @@ sub bucket_retrieve_all { my %buckets; $buckets{$_} = $apputils->simplereq( - $svc, $types{$_} . ".search.owner.atomic", $userid ) for keys %types; + $svc, $types{$_} . ".search.atomic", { owner => $userid } ) for keys %types; return \%buckets; } @@ -91,7 +91,7 @@ sub bucket_flesh { } $bkt->items( $apputils->simplereq( $svc, - "$meth"."_item.search.bucket.atomic", $bucket ) ); + "$meth"."_item.search.atomic", { bucket => $bucket } ) ); return $bkt; } @@ -119,7 +119,7 @@ sub bucket_flesh_public { return undef unless ($bkt and $bkt->pub); $bkt->items( $apputils->simplereq( $svc, - "$meth"."_item.search.bucket.atomic", $bucket ) ); + "$meth"."_item.search.atomic", { bucket => $bucket } ) ); return $bkt; } @@ -321,7 +321,7 @@ sub full_delete { $logger->activity("User " . $staff->id . " deleting full container $containerId"); my $meth = $types{$class}; - my $items = $apputils->simplereq( $svc, "$meth"."_item.search.bucket.atomic", $containerId ); + my $items = $apputils->simplereq( $svc, "$meth"."_item.search.atomic", { bucket => $containerId } ); $self->item_delete( $client, $authtoken, $class, $_->id ) for @$items; -- 2.11.0