From f03b440b816dc146f9bfb24a68682be9f026441e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 11 Aug 2023 13:11:20 +0000 Subject: [PATCH] Bug 34517: Add boolean to search columns for schema Signed-off-by: Kelly McElligott Signed-off-by: Katrin Fischer --- Koha/Schema/Result/BorrowerAttributeType.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index 63b54e29d2..a62b19fd04 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -261,6 +261,14 @@ __PACKAGE__->add_columns( '+mandatory' => { is_boolean => 1 }, ); +__PACKAGE__->add_columns( + '+staff_searchable' => { is_boolean => 1 }, +); + +__PACKAGE__->add_columns( + '+searched_by_default' => { is_boolean => 1 }, +); + sub koha_object_class { 'Koha::Patron::Attribute::Type'; } -- 2.30.2