[Koha-bugs] [Bug 29906] When changing hold parameters over API (PUT) it forcibly gets to "suspended" state

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 20 16:30:50 CET 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |The PATCH/PUT
      release notes|                            |/api/v1/holds/{hold_id} API
                   |                            |endpoint allows for partial
                   |                            |updates of Holds.  Priority
                   |                            |and Pickup Location are
                   |                            |both available to change
                   |                            |(though it is preferred to
                   |                            |use the routes specifically
                   |                            |added for manipulating
                   |                            |them).
                   |                            |
                   |                            |Suspend_until can
                   |                            |also be added/updated to
                   |                            |add or lengthen an existing
                   |                            |suspension, but the field
                   |                            |cannot be set to null to
                   |                            |remove the suspension at
                   |                            |present.
                   |                            |
                   |                            |This patch
                   |                            |restores the suspen_until
                   |                            |function to ensure
                   |                            |suspensions are not
                   |                            |triggered by unrelated
                   |                            |pickup location or priority
                   |                            |changes.

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


More information about the Koha-bugs mailing list