Bugzilla – Attachment 195120 Details for
Bug 42062
Patron column missing from checkout history on biblio record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 42062: correct permissions check in template file
3e07030.patch (text/plain), 1.82 KB, created by
Fridolin Somers
on 2026-03-11 10:20:29 UTC
(
hide
)
Description:
Bug 42062: correct permissions check in template file
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2026-03-11 10:20:29 UTC
Size:
1.82 KB
patch
obsolete
>From 3e07030ca2d326665dc01919b29896943e08a208 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Tue, 10 Mar 2026 20:26:19 +0000 >Subject: [PATCH] Bug 42062: correct permissions check in template file > >To test: >1 - have a biblio with circulation history >2 - confirm syspref intranetreadinghistory is enabled and you're logged in as a user with permissions view_checkout_history and circulate_remaining_permissions (or superlibrarian or top-level borrowers and circulation permissions) >3 - load the checkout history page on your biblio record >4 - confirm there is no Patron column and that column is not hidden via column config >5 - apply patch, restart services, reload page >6 - confirm Patron column is present > >Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> >--- > .../intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >index eba58ef173..be05d7246b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >@@ -41,7 +41,7 @@ > <h1>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h1> > [% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %] > >- [% SET show_patron_column = (CAN_user_borrowers_view_checkout_history && Koha.Preference('intranetreadinghistory')) AND CAN_user_circulate_remaining_permissions %] >+ [% SET show_patron_column = (CAN_user_borrowers_view_checkout_history && Koha.Preference('intranetreadinghistory')) AND CAN_user_circulate_circulate_remaining_permissions %] > > <div class="searchresults page-section"> > [% IF checkouts %] >-- >2.43.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 42062
:
195101
| 195120