[Koha-bugs] [Bug 35386] Renewals via the API are recorded using the branch of the API account used

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 11 21:40:01 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35386

--- Comment #5 from Tomás Cohen Arazi <tomascohen at 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.


More information about the Koha-bugs mailing list