Lines 41-47
export default {
Link Here
|
41 |
tableOptions: { |
41 |
tableOptions: { |
42 |
columns: this.getTableColumns(), |
42 |
columns: this.getTableColumns(), |
43 |
options: { |
43 |
options: { |
44 |
embed: "borrowernumber", |
44 |
embed: "patron", |
45 |
}, |
45 |
}, |
46 |
url: () => this.table_url(), |
46 |
url: () => this.table_url(), |
47 |
table_settings: this.counter_log_table_settings, |
47 |
table_settings: this.counter_log_table_settings, |
Lines 139-147
export default {
Link Here
|
139 |
{ |
139 |
{ |
140 |
title: __("Imported by"), |
140 |
title: __("Imported by"), |
141 |
render: function (data, type, row, meta) { |
141 |
render: function (data, type, row, meta) { |
142 |
const borrower = row.borrowernumber |
142 |
const { patron } = row |
143 |
const importer = borrower |
143 |
const importer = patron |
144 |
? `<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${borrower.patron_id}">${borrower.firstname} ${borrower.surname}</a>` |
144 |
? `<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${patron.patron_id}">${patron.firstname} ${patron.surname}</a>` |
145 |
: this.$__("Cronjob") |
145 |
: this.$__("Cronjob") |
146 |
return importer |
146 |
return importer |
147 |
}, |
147 |
}, |
148 |
- |
|
|