Bugzilla – Attachment 195101 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
Bug-42062-correct-permissions-check-in-template-fi.patch (text/plain), 1.76 KB, created by
Andrew Fuerste-Henry
on 2026-03-10 20:30:51 UTC
(
hide
)
Description:
Bug 42062: correct permissions check in template file
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2026-03-10 20:30:51 UTC
Size:
1.76 KB
patch
obsolete
>From 7374fe141a951b553c3faa8122b063f2793a6292 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 >--- > .../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 eba58ef173a..be05d7246b9 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.39.5
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