From 4475df36bfcd77bbad674e4cf1454b62db7ac90e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 20 Jan 2026 12:21:19 +0000 Subject: [PATCH] Bug 41649: DBIC Schema boolean update Sponsored-by: OpenFifth Signed-off-by: Marcus Michel Signed-off-by: Kyle M Hall Signed-off-by: Pedro Amorim --- Koha/Schema/Result/Itemtype.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 3041d61720..b0928152c1 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -380,11 +380,12 @@ __PACKAGE__->has_many( __PACKAGE__->add_columns( '+automatic_checkin' => { is_boolean => 1 }, + '+bookable' => { is_boolean => 1, is_nullable => 1 }, '+hideinopac' => { is_boolean => 1 }, '+notforloan' => { is_boolean => 1 }, '+rentalcharge_daily_calendar' => { is_boolean => 1 }, '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, - '+bookable' => { is_boolean => 1, is_nullable => 1 }, + '+sip_magnetic' => { is_boolean => 1 }, ); __PACKAGE__->load_components('+Koha::Schema::Component::Localization');