Bugzilla – Attachment 174709 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.13 KB, created by
Jonathan Druart
on 2024-11-18 14:48:45 UTC
(
hide
)
Description:
Bug 36627: Use patron_to_html in 'Imported by' column
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-18 14:48:45 UTC
Size:
2.13 KB
patch
obsolete
>From 6b902aa7b8a6795d786c99120197fda7bedffbf1 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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.34.1
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