Bug 37884

Summary: Interface in action logs for renewals is OPAC if the previous renewal was in the OPAC
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2024-09-10 15:49:39 UTC
When you do a renewal in the staff interface, and the previous renewal was in the OPAC, the actions logs will say it was done in the OPAC. 

To recreate:
1. Enable RenewalLog
2. Check out an item to patron A
3. Check out another item to patron B
4. Log in the the OPAC as patron A and renew the checkout
5. In the staff interface, renew the checkout for patron B
6. Go to Tools > Log Viewer
7. Check the Circulation module and click OK
   --> Both renewals have the interface "OPAC"

It seems to be a cookie thing maybe? If I do the OPAC renewal in a private browser window, it's ok.

I realize this is unlikely to happen in real life, I was trying to create log entries for the manual. But I don't know enough to know if this is a symptom of a  bigger problem or not, so I figured I'd report it...