[Koha-bugs] [Bug 35906] Add bookable option on itemtypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 26 11:49:35 CET 2024


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

--- Comment #3 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Thank you nick for your feedback. I've changed the "visual" problems with the
dropdown and the messages.


I was just wondering about the impact of itemtype on linked item bookings. I'd
certainly change the checkbox for defining whether the itemtype is bookable by
a select to have a behavior like : 
- Do not define => NULL, keeping the current operation with the possibility of
defining each item as bookable
- Bookable => 1 all linked items are bookable
- Bookable => 0 items not bookable

which would then lead us to use Items->filter_by_bookable with the right
filters to obtain bookable items by their direct bookable status or by the
bookable status of their itemtype.

It would be necessary to create a foreign-key relationship between these
tables, as this is not currently the case, and I wonder why... would there be
any obstacle to doing so?

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


More information about the Koha-bugs mailing list