From 92cd2f8ca6ee06a05d2b6511ad75533bbf619773 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 14 Jan 2019 08:04:51 -0300 Subject: [PATCH] Bug 22125: branches.pickup_location should be flagged as boolean This trivial patch just marks the mentioned column as a boolean. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Josef Moravec https://bugs.koha-community.org/show_bug.cgi?id=16497 Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens (cherry picked from commit 95ce61fd3e2c7f41d14e570da3bb8bf05373c65e) Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Branch.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index 13fe183742..32741eb345 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -665,8 +665,9 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0yMUX1UukdV7eMol06JXTQ - -# You can replace this text with custom code or comments, and it will be preserved on regeneration +__PACKAGE__->add_columns( + '+pickup_location' => { is_boolean => 1 } +); sub koha_objects_class { 'Koha::Libraries'; -- 2.39.5