From 72b106d0b5e74b75d6d1ee45c56539859ca1d23c 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 Signed-off-by: Tomas Cohen Arazi --- 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 9a4b7125ce..9f921a6f85 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -251,6 +251,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.39.2