From 95ce61fd3e2c7f41d14e570da3bb8bf05373c65e 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 --- 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 b894c54dc7..d8816856fa 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -680,8 +680,9 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-03 16:10:04 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WyXH3sMlyuJIx0fd31RswA - -# 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