From 236d0f96815c8bf9cc588bcea10cefcd47f761d9 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 21 Jul 2010 19:58:44 +0000 Subject: [PATCH] add parameter support to acn, acp and auri unapi axes git-svn-id: svn://svn.open-ils.org/ILS/trunk@17001 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm index 20559f893..c9ce84024 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm @@ -586,6 +586,10 @@ sub unapi { my @params = ($id); push @params, $lib, $lib_depth, $flesh_feed, $paging if ($base_format eq 'holdings_xml'); + # for acn, acp, etc, the "lib" pathinfo position isn't useful. + # however, we can have it carry extra options like no_record! (comma separated) + push @params, { map { ( $_ => 1 ) } split(',', $lib) } if ( grep { $type eq $_} qw/acn acp auri/); + my $req = $supercat->request($method,@params); my $data = $req->gather(); -- 2.11.0