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

--- Comment #11 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193830
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193830&action=edit
Bug 41917: Add parent itemtype fallback to Items::filter_by_bookable

- Include children of bookable parent itemtypes in the
  bookable filter
- Add explicit Koha::ItemTypes import

To test:
- Run t/db_dependent/Koha/Items.t
- Verify filter_by_bookable includes items whose child
  itemtype has a bookable parent (both itype modes)
- Verify items with explicit bookable=0 are excluded even
  when parent is bookable

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to