Bugzilla – Attachment 191649 Details for
Bug 37025
Add CLI tool to generate/delete api keys for a given patron on a Koha instance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37025: (QA follow-up) Link patron in log viewer for APIKEY module
Bug-37025-QA-follow-up-Link-patron-in-log-viewer-f.patch (text/plain), 2.63 KB, created by
Paul Derscheid
on 2026-01-19 12:34:40 UTC
(
hide
)
Description:
Bug 37025: (QA follow-up) Link patron in log viewer for APIKEY module
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-01-19 12:34:40 UTC
Size:
2.63 KB
patch
obsolete
>From bde879fbef1dcbe851fbb7964c75ebcb6a643724 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Mon, 19 Jan 2026 13:16:38 +0100 >Subject: [PATCH] Bug 37025: (QA follow-up) Link patron in log viewer for > APIKEY module > >- Add APIKEY module to condition that renders patron links in Object column >- Add APIKEY module to backend logic that fetches patron data for log entries >- Allows clicking borrowernumber to navigate to patron record >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 +- > tools/viewlog.pl | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index 28f0977e402..359e5f40f91 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -263,7 +263,7 @@ > <td>[% PROCESS translate_log_module module=loopro.module %]</td> > <td>[% PROCESS translate_log_action action=loopro.action %]</td> > <td> >- [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %] >+ [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) || ( loopro.module == 'APIKEY' ) %] > [% IF loopro.patron %] > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object | uri %]" title="Display member details."> > [% IF ( loopro.object ) %][% IF ( loopro.patron.firstname ) || ( loopro.patron.surname ) %] >diff --git a/tools/viewlog.pl b/tools/viewlog.pl >index 73d35670c78..2735aba8a2d 100755 >--- a/tools/viewlog.pl >+++ b/tools/viewlog.pl >@@ -203,8 +203,8 @@ if ($do_it) { > } > } > >- #add firstname and surname for borrower, when using the CIRCULATION, MEMBERS, FINES >- if ( $log->module eq "CIRCULATION" || $log->module eq "MEMBERS" || $log->module eq "FINES" ) { >+ #add firstname and surname for borrower, when using the CIRCULATION, MEMBERS, FINES, APIKEY >+ if ( $log->module eq "CIRCULATION" || $log->module eq "MEMBERS" || $log->module eq "FINES" || $log->module eq "APIKEY" ) { > if ( $log->object ) { > my $patron = Koha::Patrons->find( $log->object ); > if ( $patron && $output eq 'screen' ) { >-- >2.52.0
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 37025
:
167397
|
167524
|
171014
|
185537
|
191344
|
191345
|
191639
|
191640
|
191641
|
191642
|
191643
|
191644
|
191648
| 191649