Lines 217-223
Link Here
|
217 |
embed.push('item_group_item.item_group.description'); |
217 |
embed.push('item_group_item.item_group.description'); |
218 |
[% END %] |
218 |
[% END %] |
219 |
[% IF biblio.serial %] |
219 |
[% IF biblio.serial %] |
220 |
embed.push('serialitem.serial'); |
220 |
embed.push('serial_item.serial'); |
221 |
[% END %] |
221 |
[% END %] |
222 |
[% IF Koha.Preference('UseRecalls') %] |
222 |
[% IF Koha.Preference('UseRecalls') %] |
223 |
embed.push('recall', 'recall+strings', 'recall.patron') |
223 |
embed.push('recall', 'recall+strings', 'recall.patron') |
Lines 428-434
Link Here
|
428 |
render: function (data, type, row, meta) { |
428 |
render: function (data, type, row, meta) { |
429 |
let nodes = ""; |
429 |
let nodes = ""; |
430 |
[%# FIXME Previously we displayed the column if at least one item of the biblio had an enumchron/serial_issue_number. Now it's only if one item of the ones displayed on the current page, how is that bad? How can it be fixed in an elegant way? Should we display the column only if biblio.serial? %] |
430 |
[%# FIXME Previously we displayed the column if at least one item of the biblio had an enumchron/serial_issue_number. Now it's only if one item of the ones displayed on the current page, how is that bad? How can it be fixed in an elegant way? Should we display the column only if biblio.serial? %] |
431 |
let serial = row.serialitem ? row.serialitem.serial : null; |
431 |
let serial = row.serial_item ? row.serial_item.serial : null; |
432 |
if ( row.serial_issue_number && serial && serial.serialseq ) { |
432 |
if ( row.serial_issue_number && serial && serial.serialseq ) { |
433 |
nodes += '<span class="enum">%s</span>'.format(escape_str(row.serial_issue_number)); |
433 |
nodes += '<span class="enum">%s</span>'.format(escape_str(row.serial_issue_number)); |
434 |
if ( serial.serialseq && row.serial_issue_number != serial.serialseq ) { |
434 |
if ( serial.serialseq && row.serial_issue_number != serial.serialseq ) { |
435 |
- |
|
|