Bug 22630: Set is_boolean flag for course_items.homebranch_enabled
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 24 Apr 2020 09:01:46 +0000 (11:01 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Apr 2020 16:08:13 +0000 (17:08 +0100)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/CourseItem.pm

index e1654ec..495cf77 100644 (file)
@@ -320,6 +320,7 @@ __PACKAGE__->belongs_to(
 __PACKAGE__->add_columns(
     '+itype_enabled'         => { is_boolean => 1 },
     '+ccode_enabled'         => { is_boolean => 1 },
+    '+homebranch_enabled'    => { is_boolean => 1 },
     '+holdingbranch_enabled' => { is_boolean => 1 },
     '+location_enabled'      => { is_boolean => 1 },
 );