From 5f8d94c98a1f8df817fb4df07574fc20ee125107 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 20 Feb 2020 17:15:57 +0000 Subject: [PATCH] Bug 23727: (QA follow-up) Fix for boolean flags Signed-off-by: Marcel de Rooy Signed-off-by: Joy Nelson --- 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.39.5