From b12403eb711d253800f5126f5fe9997f58b2b995 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 29 Oct 2024 16:46:45 +0000 Subject: [PATCH] Bug 38290: DBIC file --- Koha/Schema/Result/Aqbookseller.pm | 10 ++++++++++ Koha/Schema/Result/LibraryGroup.pm | 15 +++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Aqbookseller.pm b/Koha/Schema/Result/Aqbookseller.pm index a488e305e94..3f9702c44bc 100644 --- a/Koha/Schema/Result/Aqbookseller.pm +++ b/Koha/Schema/Result/Aqbookseller.pm @@ -210,6 +210,14 @@ the payment method for the vendor the language for the vendor +=head2 lib_group_visibility + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +the language for the vendor + =cut __PACKAGE__->add_columns( @@ -263,6 +271,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 255 }, "language", { data_type => "varchar", is_nullable => 1, size => 255 }, + "lib_group_visibility", + { data_type => "varchar", is_nullable => 1, size => 255 }, ); =head1 PRIMARY KEY diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index 4bd64609e66..b871475a651 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -111,6 +111,14 @@ Use this group to identify libraries as pick up location for holds Use this group to identify libraries as part of float group +=head2 ft_acquisitions + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +Use this group in the acquisitions module + =head2 created_on data_type: 'timestamp' @@ -153,6 +161,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "ft_local_float_group", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "ft_acquisitions", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "created_on", { data_type => "timestamp", @@ -266,8 +276,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-04 17:58:31 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M9YgMuCWhncegAzkH8uoJg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-02-19 15:07:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+YOn4aK2aZarRa9Lrq5UKw sub koha_object_class { 'Koha::Library::Group'; @@ -283,6 +293,7 @@ __PACKAGE__->add_columns( '+ft_local_hold_group' => { is_boolean => 1 }, '+ft_search_groups_opac' => { is_boolean => 1 }, '+ft_search_groups_staff' => { is_boolean => 1 }, + '+ft_acquisitions' => { is_boolean => 1 }, ); 1; -- 2.39.5 (Apple Git-154)