|
Lines 143-148
export default {
Link Here
|
| 143 |
let get_lib_from_av = this.get_lib_from_av |
143 |
let get_lib_from_av = this.get_lib_from_av |
| 144 |
|
144 |
|
| 145 |
return [ |
145 |
return [ |
|
|
146 |
{ |
| 147 |
title: __("ID"), |
| 148 |
data: "me.license_id", |
| 149 |
searchable: true, |
| 150 |
orderable: true, |
| 151 |
render: function (data, type, row, meta) { |
| 152 |
return ( |
| 153 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
| 154 |
row.license_id + |
| 155 |
'" class="show">' + |
| 156 |
escape_str(`(#${row.license_id})`) + |
| 157 |
"</a>" |
| 158 |
) |
| 159 |
}, |
| 160 |
}, |
| 146 |
{ |
161 |
{ |
| 147 |
title: __("Name"), |
162 |
title: __("Name"), |
| 148 |
data: "me.name:me.license_id", |
163 |
data: "me.name:me.license_id", |
|
Lines 153-159
export default {
Link Here
|
| 153 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
168 |
'<a href="/cgi-bin/koha/erm/licenses/' + |
| 154 |
row.license_id + |
169 |
row.license_id + |
| 155 |
'" class="show">' + |
170 |
'" class="show">' + |
| 156 |
escape_str(`${row.name} (#${row.license_id})`) + |
171 |
escape_str(row.name) + |
| 157 |
"</a>" |
172 |
"</a>" |
| 158 |
) |
173 |
) |
| 159 |
}, |
174 |
}, |
| 160 |
- |
|
|