From 0adc6f5f7ab2b68495853d383b70ccc2ffc0e0fc Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 10 Dec 2010 14:20:58 +0000 Subject: [PATCH] Return authority records for freshmeat when authority records are requested Previously, freshmeat was hardcoded to return bibliographic records, even when authority records were requested. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18959 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm index 305b8a26be..3173a34482 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm @@ -997,7 +997,11 @@ sub changes_feed { # return 302; #} - my $feed = create_record_feed( 'record', $type, $list, $unapi, $org_unit->[0]->shortname, undef, $flesh_feed); + my $search = 'record'; + if ($rtype = 'authority') { + $search = 'authority'; + } + my $feed = create_record_feed( $search, $type, $list, $unapi, $org_unit->[0]->shortname, undef, $flesh_feed); $feed->root($root); if ($date) { -- 2.11.0