From: erickson Date: Thu, 16 Oct 2008 17:53:55 +0000 (+0000) Subject: dummied up a native catalog z-source config blob X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f07c61017cc81f594e933f7d6f17bee35e03658;p=Evergreen.git dummied up a native catalog z-source config blob git-svn-id: svn://svn.open-ils.org/ILS/trunk@10847 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Z3950.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Z3950.pm index 6cc8efba84..b40a866425 100755 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Z3950.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Z3950.pm @@ -121,6 +121,24 @@ sub query_services { } } + # Define the set of native catalog services + # XXX There are i18n problems here, but let's get the staff client working first + # XXX Move into the DB? + $hash->{'native-evergreen-catalog'} = { + attrs => { + title => {code => 'title', label => 'Title'}, + author => {code => 'author', label => 'Author'}, + subject => {code => 'subject', label => 'Subject'}, + keyword => {code => 'keyword', label => 'Keyword'}, + tcn => {code => 'tcn', label => 'TCN'}, + isbn => {code => 'isbn', label => 'ISBN'}, + issn => {code => 'issn', label => 'ISSN'}, + publisher => {code => 'publisher', label => 'Publisher'}, + pubdate => {code => 'pubdate', label => 'Pub Date'}, + item_type => {code => 'item_type', label => 'Item Type'}, + } + }; + return $hash; }