|
Lines 367-373
Link Here
|
| 367 |
orderable: true, |
367 |
orderable: true, |
| 368 |
render: function (data, type, row, meta) { |
368 |
render: function (data, type, row, meta) { |
| 369 |
let nodes = '<span class="holdingbranchdesc">%s</span>'.format(escape_str(row._strings.holding_library_id.str)); |
369 |
let nodes = '<span class="holdingbranchdesc">%s</span>'.format(escape_str(row._strings.holding_library_id.str)); |
| 370 |
[% IF ( Koha.Preference('StaffLocationOnDetail') == 'home' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] |
370 |
[% IF ( Koha.Preference('StaffLocationOnDetail') == 'holding' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] |
| 371 |
nodes += '<span class="shelvingloc">' |
371 |
nodes += '<span class="shelvingloc">' |
| 372 |
[%# If permanent location is defined, show description or code and %] |
372 |
[%# If permanent location is defined, show description or code and %] |
| 373 |
[%# display current location in parentheses. If not, display current location. %] |
373 |
[%# display current location in parentheses. If not, display current location. %] |
|
Lines 411-417
Link Here
|
| 411 |
searchable: true, |
411 |
searchable: true, |
| 412 |
orderable: true, |
412 |
orderable: true, |
| 413 |
render: function (data, type, row, meta) { |
413 |
render: function (data, type, row, meta) { |
| 414 |
return escape_str(row._strings.collection_code.str); |
414 |
return escape_str(row._strings.location.str); |
| 415 |
} |
415 |
} |
| 416 |
}, |
416 |
}, |
| 417 |
[% END %] |
417 |
[% END %] |
| 418 |
- |
|
|