The house of cards that had crashed to earth with the async
problems fixed in the previous commit also broke electronic
resources display in the search results for the LU and Algoma
skins. This sorts it out by simply moving the electronic
resources into their own row, rather than overloading the
local callnumber row.
Signed-off-by: Dan Scott <dan@coffeecode.net>
return output.innerHTML;
]]></span>
</span>
+ </td>
+ </tr>
+ <tr name="eresources" class="result_table_title_cell">
+ <td>
<!-- Be lenient in what we accept; disabled until we figure out how to prevent both URIs and SFX -->
<span type='opac/slot-data+marcxml-full' query='record'>
<span class='hide_me' type='opac/slot-format'><![CDATA[
+ var this_title_id;
+
+ dojo.query('datafield[tag="901"] subfield[code="c"]', item).forEach(function (item) {
+ this_title_id = dojo.trim(BT.textContent(item));
+ });
+
var found_issn = false;
dojo.query('datafield[tag="022"]', item).forEach(function(issn) {
found_issn = true;
return output.innerHTML;
]]></span>
</span>
+ </td>
+ </tr>
+ <tr name="eresources" class="result_table_title_cell">
+ <td>
<!-- Be lenient in what we accept; disabled until we figure out how to prevent both URIs and SFX -->
<span type='opac/slot-data+marcxml-full' query='record'>
<span class='hide_me' type='opac/slot-format'><![CDATA[
+ var this_title_id;
+
+ dojo.query('datafield[tag="901"] subfield[code="c"]', item).forEach(function (item) {
+ this_title_id = dojo.trim(BT.textContent(item));
+ });
+
var found_issn = false;
dojo.query('datafield[tag="022"]', item).forEach(function(issn) {
found_issn = true;