Bugzilla – Attachment 191961 Details for
Bug 41163
Circulation logs record issuing branch in database but show logged-in branch in log viewer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41163: Do not decode branchcode in circ log
696bcc6.patch (text/plain), 1.48 KB, created by
Lisette Scheer
on 2026-01-23 15:59:28 UTC
(
hide
)
Description:
Bug 41163: Do not decode branchcode in circ log
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2026-01-23 15:59:28 UTC
Size:
1.48 KB
patch
obsolete
>From 696bcc665fbbde613708d2fc719a31a18fca332b Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Fri, 31 Oct 2025 18:01:51 +0000 >Subject: [PATCH] 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> >Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> >--- > tools/viewlog.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/tools/viewlog.pl b/tools/viewlog.pl >index 770e4c47ace..2ea2feb3592 100755 >--- a/tools/viewlog.pl >+++ b/tools/viewlog.pl >@@ -181,7 +181,6 @@ if ($do_it) { > $decoded->{biblionumber} = $item->biblionumber; > $decoded->{biblioitemnumber} = $item->biblionumber; > $decoded->{barcode} = $item->barcode; >- $decoded->{branchcode} = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef; > } > $result->{'json'} = $decoded; > } else { >-- >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 41163
:
188829
|
190481
| 191961