From 735c9f8a9a36358aa2a8669dbe497eca1dcb5440 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 16 Jun 2010 19:01:36 +0000 Subject: [PATCH] steps toward wiring up authority browse via supercat git-svn-id: svn://svn.open-ils.org/ILS/trunk@16731 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm index e2fa3b031..3639b8a9d 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm @@ -147,7 +147,7 @@ sub child_init { $list = [ map { (keys %$_)[0] } @$list ]; push @$list, 'htmlholdings','html', 'marctxt', 'ris'; - for my $browse_axis ( qw/title author subject topic series item-age/ ) { + for my $browse_axis ( qw/title author subject topic series item-age authority.title authority.author authority.subject authority.topic/ ) { for my $record_browse_format ( @$list ) { { my $__f = $record_browse_format; @@ -1411,7 +1411,7 @@ sub string_browse { my $tree = $supercat->request( "open-ils.supercat.$axis.browse", $string, - $site, + (($axis =~ /^authority/) ? () : ($site)), $page_size, $page, $status, -- 2.11.0