From 69e6cb51d053ecbb9c02528aa29b27eb3b4d9584 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Fri, 11 Aug 2023 13:11:20 +0000
Subject: [PATCH] Bug 34517: Add boolean to search columns for schema

---
 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 63b54e29d2b..a62b19fd042 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