From 1072e364bd93419ead69c85222eb21d76a6b9060 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Wed, 18 Dec 2019 14:50:31 -0300 Subject: [PATCH] Bug 22284: (follow-up) Anotate boolean values in Koha::Schema::Result::LibraryGroup Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- Koha/Schema/Result/LibraryGroup.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index 443e96cb82..3be173edb0 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -220,4 +220,11 @@ sub koha_objects_class { 'Koha::Library::Groups'; } +__PACKAGE__->add_columns( + '+ft_hide_patron_info' => { is_boolean => 1 }, + '+ft_search_groups_opac' => { is_boolean => 1 }, + '+ft_search_groups_staff' => { is_boolean => 1 }, + '+ft_local_hold_group' => { is_boolean => 1 }, +); + 1; -- 2.39.5