From 8c12bc405245969e5220551c5229f113f3a44eda Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 11 Dec 2019 12:28:17 +0100 Subject: [PATCH] Bug 22833: Flag booleans in Itemtype.pm Signed-off-by: Martin Renvoize Signed-off-by: Stina Hallin --- Koha/Schema/Result/Itemtype.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 1d80371e27..17ae335e6c 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -246,6 +246,12 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-10 13:05:13 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:imkleCMSxzQGqs6WXdLmjA +__PACKAGE__->add_columns( + '+hideinopac' => { is_boolean => 1 }, + '+can_suspend_hold' => { is_boolean => 1 }, + '+can_cancel_hold' => { is_boolean => 1 }, +); + # Use the ItemtypeLocalization view to create the join on localization our $LANGUAGE; __PACKAGE__->has_many( -- 2.11.0