From f535d1728cb1dd5e4c2d82118e2d5d2a304647f9 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 4 Sep 2018 14:34:14 +0100 Subject: [PATCH] Bug 11897: Add Boolean handling to dbic classes. --- Koha/Schema/Result/Stockrotationitem.pm | 4 ++++ Koha/Schema/Result/Stockrotationrota.pm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Koha/Schema/Result/Stockrotationitem.pm b/Koha/Schema/Result/Stockrotationitem.pm index 7963601fa0..a9a70a4d74 100644 --- a/Koha/Schema/Result/Stockrotationitem.pm +++ b/Koha/Schema/Result/Stockrotationitem.pm @@ -108,6 +108,10 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-04 12:16:10 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5IDh4gVR3uzLEdUPBfsHTA +__PACKAGE__->add_columns( + '+indemand' => { is_boolean => 1 }, + '+fresh' => { is_boolean => 1 } +); # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/Stockrotationrota.pm b/Koha/Schema/Result/Stockrotationrota.pm index 48f401df32..c432f73207 100644 --- a/Koha/Schema/Result/Stockrotationrota.pm +++ b/Koha/Schema/Result/Stockrotationrota.pm @@ -114,6 +114,10 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-04-17 16:37:51 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KOv8PNKzQd3gLTskL1GiHw +__PACKAGE__->add_columns( + '+cyclical' => { is_boolean => 1 }, + '+active' => { is_boolean => 1 } +); # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.18.0