Bug 41163

Summary: Circulation logs record issuing branch in database but show logged-in branch in log viewer
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: ToolsAssignee: Andrew Fuerste-Henry <andrew>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: mspinney
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 9762    
Bug Blocks:    
Attachments: Bug 41163: Do not decode branchcode in circ log
Bug 41163: Do not decode branchcode in circ log

Description Andrew Fuerste-Henry 2025-10-31 17:53:22 UTC
To recreate:
- confirm circ logging is on
- check out an item at Centerville (CPL)
- go to the log viewer, find your checkout, confirm the Info column includes "CPL"
- switch your logged-in library to Fairfield (FFL)
- confirm the log viewer now shows "FFL" in the info column for your checkout
- use a report to view action_logs.info for your checkout, confirm the field contains "CPL"
Comment 1 Andrew Fuerste-Henry 2025-10-31 18:03:14 UTC
Created attachment 188829 [details] [review]
Bug 41163: Do not decode branchcode in circ log

To test:
1 - confirm circ logging is on
2 - check out an item at Centerville (CPL)
3 - go to the log viewer, find your checkout, confirm the Info column includes "CPL"
4 - switch your logged-in library to Fairfield (FFL)
5 - confirm the log viewer now shows "FFL" in the info column for your checkout
6 - use a report to view action_logs.info for your checkout, confirm the field contains "CPL"
7 - apply patch, restart_all
8 - repeat steps 3-5, confirm "info" column shows "CPL" regardless of logged-in branch
Comment 2 Roman Dolny 2025-12-13 15:31:00 UTC
Created attachment 190481 [details] [review]
Bug 41163: Do not decode branchcode in circ log

To test:
1 - confirm circ logging is on
2 - check out an item at Centerville (CPL)
3 - go to the log viewer, find your checkout, confirm the Info column includes "CPL"
4 - switch your logged-in library to Fairfield (FFL)
5 - confirm the log viewer now shows "FFL" in the info column for your checkout
6 - use a report to view action_logs.info for your checkout, confirm the field contains "CPL"
7 - apply patch, restart_all
8 - repeat steps 3-5, confirm "info" column shows "CPL" regardless of logged-in branch

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>