Bugzilla – Attachment 174069 Details for
Bug 36627
Display importer for manually harvested SUSHI data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36627: Use patron_to_html in 'Imported by' column
Bug-36627-Use-patrontohtml-in-Imported-by-column.patch (text/plain), 2.07 KB, created by
Matt Blenkinsop
on 2024-11-06 09:49:16 UTC
(
hide
)
Description:
Bug 36627: Use patron_to_html in 'Imported by' column
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-11-06 09:49:16 UTC
Size:
2.07 KB
patch
obsolete
>From 0917b6f9a6673f0912e00b7cad618c1886656298 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >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 <pedro.amorim@ptfs-europe.com> >--- > .../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 >- ? `<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${patron.patron_id}">${patron.firstname} ${patron.surname}</a>` >+ ? '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' + >+ patron.patron_id + >+ '">' + >+ $patron_to_html(patron) + >+ "</a>" > : this.$__("Cronjob") > return importer > }, >-- >2.39.3 (Apple Git-146)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36627
:
165029
|
165030
|
165031
|
165054
|
165055
|
165056
|
165057
|
165064
|
165065
|
165066
|
165067
|
165068
|
165070
|
165071
|
165072
|
165073
|
165074
|
165127
|
165128
|
165129
|
165130
|
165131
|
169217
|
169218
|
169219
|
169220
|
169221
|
174066
|
174067
|
174068
|
174069
|
174070
|
174402
|
174706
|
174707
|
174708
|
174709
|
174710
|
174711
|
174712