[Koha-bugs] [Bug 35167] GET /items* broken if notforloan == 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 26 20:59:39 CEST 2023


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 157949
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157949&action=edit
Bug 35167: Make 'effective_not_for_loan_status' fallback to 0 if itype has it
undef

This patch makes the effective not for loan status be set the item value
if not defined at itype level.

To test:
1. Apply the regressions tests patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/items.t
=> FAIL: Tests fail!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list