From 65abd4102e8b16d5f28a68e2404dc8d2c37f9af2 Mon Sep 17 00:00:00 2001
From: Magnus Enger <magnus@libriotech.no>
Date: Wed, 11 Dec 2019 12:28:17 +0100
Subject: [PATCH] Bug 22833 - Flag booleans in Itemtype.pm

---
 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.17.1