From c2fdbc64a718e9f62e6349d0b1adc4e57dc67e41 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 | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/Koha/Schema/Result/Aqbookseller.pm b/Koha/Schema/Result/Aqbookseller.pm index 357efae5240..0ea68effee9 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 c1c25568095..c0bf6f7d151 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", @@ -296,6 +306,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.48.1