From: dbs Date: Thu, 9 Dec 2010 06:41:38 +0000 (+0000) Subject: Return authority records for freshmeat when authority records are requested X-Git-Tag: kcls-grey-screen-prod1~319 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a4c23b8d33e8b5ffbdf7dfc0e340f1898c6b3efe;p=evergreen%2Fequinox.git 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/trunk@18941 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {