[Koha-bugs] [Bug 35386] Add ability to configure renewal branch when not specified in API request

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 19 20:33:08 CET 2024


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

--- Comment #7 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Brendan Lawlor from comment #3)
> When I tested this out I confirmed before the patch the branch recorded for
> the renewal is the API user's homebranch.
> 
> When I applied the patch I noticed the system preference
> RESTAPIRenewalBranch defaults to 'APIRenew' and when I made a post to
> {{base_url}}/api/v1/checkouts/1/renewal
> the branch recorded in the statistics table as 'API Renew' According to the
> test plan it should default to the branch of the api user.

I only see this if I look at the preference before running updatedatabase
If the update has not been run to set the default then the interface will
display the first option in the list

> Also one of the options for RESTAPIRenewalBranch is NULL, which did work to
> record the branch in the statistics as NULL, but I'm not sure if that is an
> intended option.

This was intended to match the OPacRenewalBranch options

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list