Bug 41263 - Action logs record interface as API for holds updates performed from patron record
Summary: Action logs record interface as API for holds updates performed from patron r...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-18 15:37 UTC by Andrew Fuerste-Henry
Modified: 2025-11-20 21:08 UTC (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2025-11-18 15:37:30 UTC
Modifications to holds performed on the bib record (/cgi-bin/koha/reserve/request.pl) show in the action logs with an interface value of Staff Interface. This is correct.
Modifications to holds performed on the patron record (/cgi-bin/koha/circ/circulation.pl or /cgi-bin/koha/members/moremember.pl) show in the action logs with an interface value of REST API. This is incorrect -- these actions should be logged as having been done in the staff interface.

To recreate:
1 - enable the Holds Log
2 - place a hold for a patron
3 - from the bib record, suspend and then resume the hold
4 - go to the patron record, suspend and then resume the hold
5 - go to the log viewer, search for your hold
6 - confirm your actions in Step 3 show interface = Staff Interface
7 - confirm your actions in Step 4 show interface = REST API
Comment 1 Andrew Fuerste-Henry 2025-11-18 15:41:37 UTC
I'm guessing this same issue exists for other places where Koha is using its APIs internally, but these holds actions are the only place I've confirmed this behavior so far.