From d3995174c5b119c4a8355e2d3cc19d6682b506ab Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 24 Apr 2020 11:01:46 +0200 Subject: [PATCH] Bug 22630: Set is_boolean flag for course_items.homebranch_enabled --- Koha/Schema/Result/CourseItem.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index e1654ec8ee..495cf77964 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -320,6 +320,7 @@ __PACKAGE__->belongs_to( __PACKAGE__->add_columns( '+itype_enabled' => { is_boolean => 1 }, '+ccode_enabled' => { is_boolean => 1 }, + '+homebranch_enabled' => { is_boolean => 1 }, '+holdingbranch_enabled' => { is_boolean => 1 }, '+location_enabled' => { is_boolean => 1 }, ); -- 2.20.1