[Koha-bugs] [Bug 28254] Make it possible to override rules in PUT /holds/:hold_id/pickup_location

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 29 12:48:31 CEST 2021


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120281|0                           |1
        is obsolete|                            |
 Attachment #120282|0                           |1
        is obsolete|                            |
 Attachment #120283|0                           |1
        is obsolete|                            |

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 120305
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120305&action=edit
Bug 28254: Add 'override' parameter to Koha::Hold->set_pickup_location

This patch adds a new parameter to the method. If passed+true it makes
the method skip the pickup validation test.

Tests and POD added for this change.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Hold.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list