View | Details | Raw Unified | Return to bug 36627
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue (-2 / +7 lines)
Lines 23-33 import KohaTable from "../KohaTable.vue" Link Here
23
export default {
23
export default {
24
    setup() {
24
    setup() {
25
        const { setConfirmationDialog, setMessage } = inject("mainStore")
25
        const { setConfirmationDialog, setMessage } = inject("mainStore")
26
        const patron_to_html = $patron_to_html
26
27
27
        const table = ref()
28
        const table = ref()
28
29
29
        return {
30
        return {
30
            table,
31
            table,
32
            patron_to_html,
31
            setConfirmationDialog,
33
            setConfirmationDialog,
32
            setMessage,
34
            setMessage,
33
        }
35
        }
Lines 141-147 export default { Link Here
141
                    render: function (data, type, row, meta) {
143
                    render: function (data, type, row, meta) {
142
                        const { patron } = row
144
                        const { patron } = row
143
                        const importer = patron
145
                        const importer = patron
144
                            ? `<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${patron.patron_id}">${patron.firstname} ${patron.surname}</a>`
146
                            ? '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' +
147
                              patron.patron_id +
148
                              '">' +
149
                              $patron_to_html(patron) +
150
                              "</a>"
145
                            : "Cronjob"
151
                            : "Cronjob"
146
                        return importer
152
                        return importer
147
                    },
153
                    },
148
- 

Return to bug 36627