[Koha-bugs] [Bug 30730] Holds to Pull should not list items with a notforloan status

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 19 17:29:27 CEST 2022


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

--- Comment #13 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 135209
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135209&action=edit
Bug 30730: (follow-up) Simplify query

This patch drops the 'fetch all non-loanable items' query used in the
subsequent query as part of the 'not_in' and instead replaces it with a
simple filter on 'notforloan => 0'

Test plan
Run the included unit tests before and apply applying the followup.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list