From 745bcfe0a6066a552d53d813ed4aed625c7e52b4 Mon Sep 17 00:00:00 2001
From: Galen Charlton Hi, [% firstname %] [% surname %] sent you from our online catalog, the
+ virtual shelf called : [% shelfname %]. Please note that the attached file is a MARC bibliographic records file
+ which can be imported into personal bibliographic software like EndNote,
+ Reference Manager or ProCite. [% comment %]
+ [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
+ Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
+
+ [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
+ [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
+ [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
+ [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
+ [% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %]
+ [% END %]
+ [% UNLESS ( loop.last ) %];[% END %]
+ [% END %]
+ [% END %]
+
+ In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
+ Items:
+
+[% END %]
-Please note that the attached file is a MARC bibliographic records file
-which can be imported into personal bibliographic software like EndNote,
-Reference Manager or ProCite.
+ [% END %]
+
+ [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.ISBN && BIBLIO_RESULT.size > 0 ) %]
+
+ ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
+ [% isbn.marcisbn %]
+ [% UNLESS ( loop.last ) %]; [% END %]
+ [% END %]
+
+ [% END %]
+
+ [% IF BIBLIO_RESULT.publishercode %]
+
+ Published by: [% BIBLIO_RESULT.publishercode %]
+ [% IF ( BIBLIO_RESULT.publicationyear ) %]
+ in [% BIBLIO_RESULT.publicationyear %]
+ [% END %]
+ [% IF ( BIBLIO_RESULT.pages ) %]
+ , [% BIBLIO_RESULT.pages %]
+ [% END %]
+ [% IF BIBLIO_RESULT.size %]
+ , [% BIBLIO_RESULT.size %]
+ [% END %]
+
+ [% END %]
+
+ [% IF BIBLIO_RESULT.collection %]
+
+ Collection: [% BIBLIO_RESULT.seriestitle %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.subject ) %]
+
+ Subject: [% BIBLIO_RESULT.subject %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.copyrightdate ) %]
+
+ Copyright year: [% BIBLIO_RESULT.copyrightdate %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.notes ) %]
+
+ Notes : [% BIBLIO_RESULT.notes %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.unititle ) %]
+
+ Unified title: [% BIBLIO_RESULT.unititle %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.serial ) %]
+
+ Serial: [% BIBLIO_RESULT.serial %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.dewey ) %]
+
+ Dewey: [% BIBLIO_RESULT.dewey %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.classification ) %]
+
+ Classification: [% BIBLIO_RESULT.classification %]
+
+ [% END %]
+
+ [% IF ( BIBLIO_RESULT.lccn ) %]
+
+ LCCN: [% BIBLIO_RESULT.lccn %]
+
+ [% END %]
+ [% IF ( BIBLIO_RESULT.url ) %]
+
+ URL: [% BIBLIO_RESULT.url |url %]
+
+ [% END %]
+
+ [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
+