From cdf4915b65689952d9d9b0106668755799acc9a2 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 20 Feb 2020 17:15:57 +0000 Subject: [PATCH] [19.11.x] Bug 23727: (QA follow-up) Fix for boolean flags Signed-off-by: Marcel de Rooy --- Koha/Schema/Result/CourseItem.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 11acc20deb..4f78d24cdb 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -251,6 +251,12 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 16:07:13 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8tTH0fAzewvaXRYs8+VZcg +__PACKAGE__->add_columns( + '+itype_enabled' => { is_boolean => 1 }, + '+ccode_enabled' => { is_boolean => 1 }, + '+holdingbranch_enabled' => { is_boolean => 1 }, + '+location_enabled' => { is_boolean => 1 }, +); sub koha_objects_class { 'Koha::Course::Items'; -- 2.24.2 (Apple Git-127)