From 0917b6f9a6673f0912e00b7cad618c1886656298 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 18 Apr 2024 09:51:45 +0000 Subject: [PATCH] Bug 36627: Use patron_to_html in 'Imported by' column For consistency, and to avoid 'null koha' for a file imported by the koha user (no first name). Signed-off-by: Pedro Amorim --- .../ERM/UsageStatisticsDataProvidersCounterLogs.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue index ee290b24701..01243dfc139 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue @@ -23,11 +23,13 @@ import KohaTable from "../KohaTable.vue" export default { setup() { const { setConfirmationDialog, setMessage } = inject("mainStore") + const patron_to_html = $patron_to_html const table = ref() return { table, + patron_to_html, setConfirmationDialog, setMessage, } @@ -141,7 +143,11 @@ export default { render: function (data, type, row, meta) { const { patron } = row const importer = patron - ? `${patron.firstname} ${patron.surname}` + ? '' + + $patron_to_html(patron) + + "" : this.$__("Cronjob") return importer }, -- 2.39.3 (Apple Git-146)