|
Lines 381-387
Link Here
|
| 381 |
orderable: true, |
381 |
orderable: true, |
| 382 |
render: function (data, type, row, meta) { |
382 |
render: function (data, type, row, meta) { |
| 383 |
let nodes = '<span class="holdingbranchdesc">%s</span>'.format(escape_str(row._strings.holding_library_id.str)); |
383 |
let nodes = '<span class="holdingbranchdesc">%s</span>'.format(escape_str(row._strings.holding_library_id.str)); |
| 384 |
[% IF ( Koha.Preference('StaffLocationOnDetail') == 'home' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] |
384 |
[% IF ( Koha.Preference('StaffLocationOnDetail') == 'holding' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] |
| 385 |
nodes += '<span class="shelvingloc">' |
385 |
nodes += '<span class="shelvingloc">' |
| 386 |
[%# If permanent location is defined, show description or code and %] |
386 |
[%# If permanent location is defined, show description or code and %] |
| 387 |
[%# display current location in parentheses. If not, display current location. %] |
387 |
[%# display current location in parentheses. If not, display current location. %] |
|
Lines 425-431
Link Here
|
| 425 |
searchable: true, |
425 |
searchable: true, |
| 426 |
orderable: true, |
426 |
orderable: true, |
| 427 |
render: function (data, type, row, meta) { |
427 |
render: function (data, type, row, meta) { |
| 428 |
return escape_str(row._strings.collection_code.str); |
428 |
return escape_str(row._strings.location.str); |
| 429 |
} |
429 |
} |
| 430 |
}, |
430 |
}, |
| 431 |
[% END %] |
431 |
[% END %] |
| 432 |
- |
|
|