Lines 190-195
export default {
Link Here
|
190 |
let get_lib_from_av = this.get_lib_from_av |
190 |
let get_lib_from_av = this.get_lib_from_av |
191 |
|
191 |
|
192 |
return [ |
192 |
return [ |
|
|
193 |
{ |
194 |
title: __("ID"), |
195 |
data: "me.license_id", |
196 |
searchable: true, |
197 |
orderable: true, |
198 |
render: function (data, type, row, meta) { |
199 |
return ( |
200 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
201 |
row.license_id + |
202 |
'" class="show">' + |
203 |
escape_str(`(#${row.license_id})`) + |
204 |
"</a>" |
205 |
) |
206 |
}, |
207 |
}, |
193 |
{ |
208 |
{ |
194 |
title: __("Name"), |
209 |
title: __("Name"), |
195 |
data: "me.name:me.license_id", |
210 |
data: "me.name:me.license_id", |
Lines 200-206
export default {
Link Here
|
200 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
215 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
201 |
row.license_id + |
216 |
row.license_id + |
202 |
'" class="show">' + |
217 |
'" class="show">' + |
203 |
escape_str(`${row.name} (#${row.license_id})`) + |
218 |
escape_str(row.name) + |
204 |
"</a>" |
219 |
"</a>" |
205 |
) |
220 |
) |
206 |
}, |
221 |
}, |
207 |
- |
|
|