Lines 239-244
Link Here
|
239 |
library: new Map(all_libraries.map( l => [l.branchname, l.branchcode] )), |
239 |
library: new Map(all_libraries.map( l => [l.branchname, l.branchcode] )), |
240 |
item_type: new Map(all_item_types.map( i => [i.translated_description, i.itemtype] )), |
240 |
item_type: new Map(all_item_types.map( i => [i.translated_description, i.itemtype] )), |
241 |
collection_code: new Map([% To.json(AuthorisedValues.GetDescriptionsByKohaField({ kohafield => 'items.ccode' })) | $raw %].map( av => [av.lib, av.authorised_value])), |
241 |
collection_code: new Map([% To.json(AuthorisedValues.GetDescriptionsByKohaField({ kohafield => 'items.ccode' })) | $raw %].map( av => [av.lib, av.authorised_value])), |
|
|
242 |
location: new Map([% To.json(AuthorisedValues.GetDescriptionsByKohaField({ kohafield => 'items.location' })) | $raw %].map( av => [av.lib, av.authorised_value])), |
242 |
}; |
243 |
}; |
243 |
|
244 |
|
244 |
[% IF Koha.Preference('URLLinkText') %] |
245 |
[% IF Koha.Preference('URLLinkText') %] |
Lines 429-434
Link Here
|
429 |
}, |
430 |
}, |
430 |
{ |
431 |
{ |
431 |
data: "me.location", |
432 |
data: "me.location", |
|
|
433 |
datatype: "coded_value:location", |
432 |
searchable: true, |
434 |
searchable: true, |
433 |
orderable: true, |
435 |
orderable: true, |
434 |
render: function (data, type, row, meta) { |
436 |
render: function (data, type, row, meta) { |
435 |
- |
|
|