Bug 42062 - Patron column missing from checkout history on biblio record
Summary: Patron column missing from checkout history on biblio record
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 32682
Blocks:
  Show dependency treegraph
 
Reported: 2026-03-10 20:25 UTC by Andrew Fuerste-Henry
Modified: 2026-03-11 10:25 UTC (History)
5 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 42062: correct permissions check in template file (1.76 KB, patch)
2026-03-10 20:30 UTC, Andrew Fuerste-Henry
Details | Diff | Splinter Review
Bug 42062: correct permissions check in template file (1.82 KB, patch)
2026-03-11 10:20 UTC, Fridolin Somers
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2026-03-10 20:25:50 UTC
The Patron column on the checkout history tab of a bib (/cgi-bin/koha/catalogue/issuehistory.pl) isn't showing up properly due to a typo in a permission check in the template file.

It should be checking "CAN_user_circulate_circulate_remaining_permissions" but instead has "CAN_user_circulate_remaining_permissions"
Comment 1 Andrew Fuerste-Henry 2026-03-10 20:30:51 UTC
Created attachment 195101 [details] [review]
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
Comment 2 Fridolin Somers 2026-03-11 10:20:29 UTC
Created attachment 195120 [details] [review]
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>
Comment 3 Fridolin Somers 2026-03-11 10:25:59 UTC
Tested :

- permission catalogue => column is not there
- permissions catalogue + circulate_remaining_permissions => column is not there
- permissions catalogue + circulate_remaining_permissions + view_checkout_history => column is there
- superlibrarian => column is there

Signed \o/