From 4e5f411276603dd12fcdbbe3a3549cb10d8153ba 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 --- 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.17.1