KCLS uses call numbers in the MARC record, but most other sites
use the call numbers from asset.call_number. For now, just display
the first returned call number; eventually the display will probably
need to be adjusted to handle call number / shelving location / library
/ status like the current AjaxPAC does.
Also note that ##URI## call numbers should be filtered out but are
not yet.
Signed-off-by: Dan Scott <dan@coffeecode.net>
# clean up the ISBN
args.isbn_clean = args.isbn.replace('\ .*', '');
- args.holdsing = [];
+ args.holdings = [];
FOR holding IN xml.findnodes('//*[local-name()="volumes"]/*[local-name()="volume"]');
- args.holdings.push({
- # TODO
- });
+ args.holdings.push(
+ holding.getAttribute('label')
+ );
END;
# Extract the copy count summary
<td colspan='2'>
<strong>[% l('Call number:') %]</strong>[% args.marc_cn %][%# XXX KCLS %]
</td>
+ <td>[% args.holdings.0 %]</td>
</tr>
<tr name="results_pub_tr" class="[% attrs.publisher ? '' : 'hide_me' %]">
<td valign="top">
<img title="[% attrs.format_label %]" alt="[% attrs.format_label %]" src="[% attrs.format_icon %]" />
[% END %]
+<<<<<<< HEAD
<!-- unAPI link -->
<abbr class="unapi-id" title='tag:[% ctx.hostname %],[% date.format(date.now, '%Y') %]:biblio-record_entry/[% rec.id %]'></abbr>
+=======
+ <span class="hide_me">
+ <abbr class="unapi-id"> </abbr>
+ </span>
+>>>>>>> 1184851... Pull call number from XML holdings, not MARC record
<!-- Empty span used for creating Google Book Search-->
<span name="googleBooksLink" class="hide_me">