From fa37891d4cca6a68b9a7e2225b17ecfab31619dd Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 6 Oct 2022 09:21:50 -0300 Subject: [PATCH] Bug 17170: Minor fixes Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/SearchFilter.pm | 10 +++------- admin/search_filters.pl | 3 ++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Koha/Schema/Result/SearchFilter.pm b/Koha/Schema/Result/SearchFilter.pm index 581df45266..0939412b65 100644 --- a/Koha/Schema/Result/SearchFilter.pm +++ b/Koha/Schema/Result/SearchFilter.pm @@ -95,12 +95,8 @@ __PACKAGE__->set_primary_key("id"); # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8QjxOudinfXOrLj/KkZc5Q __PACKAGE__->add_columns( - '+opac' => { is_boolean => 1 }, - ); - -__PACKAGE__->add_columns( - '+staff_client' => { is_boolean => 1 }, - ); + '+opac' => { is_boolean => 1 }, + '+staff_client' => { is_boolean => 1 }, +); -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/admin/search_filters.pl b/admin/search_filters.pl index 21645bd6c4..cdfee223eb 100755 --- a/admin/search_filters.pl +++ b/admin/search_filters.pl @@ -1,5 +1,6 @@ #!/usr/bin/perl -# Copyright 2013 BibLibre + +# Copyright 2022 ByWater Solutions # # This file is part of Koha # -- 2.30.2