From b306b1d4caccef16161cea5b7914628911047de1 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 13 Apr 2022 13:29:41 +0000 Subject: [PATCH] Bug 17170: Update schema for boolean Sponsored-by: Sponsored by: Round Rock Public Library [https://www.roundrocktexas.gov/departments/library/] Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/SearchFilter.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Koha/Schema/Result/SearchFilter.pm b/Koha/Schema/Result/SearchFilter.pm index 50d4760d1b..581df45266 100644 --- a/Koha/Schema/Result/SearchFilter.pm +++ b/Koha/Schema/Result/SearchFilter.pm @@ -94,6 +94,13 @@ __PACKAGE__->set_primary_key("id"); # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-06 12:05:17 # 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 }, + ); # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5