From 9a65730c0fdae9c1c866a5e4b6471fc3bb6754c6 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: Martin Renvoize --- 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 aca0e8cebb..3b951fc3e1 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 }, +); # You can replace this text with custom content, and it will be preserved on regeneration 1; -- 2.39.5