https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35386 --- Comment #5 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Nick Clemens from comment #0)
When renewing items via the API Koha records the branch of the renewal as the branch of the account that is signed in to the API.
For outside service (Aspen, Communico) they may have a single API account that represents all user interactions.
While this behavior may not be technically incorrect, it should be configurable like OpacRenewalBranch - allowing the library to decide which branch is recorded in the statistics table.
We can currently specify the current branch by using the `x-koha-library` header (available since bug 24003 => v19.11.07): https://api.koha-community.org/Development.html#section/Special-headers I think decoupling the default from the OPAC would be correct, though. So I'd rename the bug. -- You are receiving this mail because: You are watching all bug changes.