From 6a130af1c6350607ed7ebd3bc816e7fb371749b6 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 12 Jul 2023 09:15:36 +0000 Subject: [PATCH] Bug 18203: dbic specific [DONT PUSH] Signed-off-by: Sam Lau --- Koha/Schema/Result/Category.pm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index d6281bf36a..8a3ef2bdf7 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -162,6 +162,14 @@ Default privacy setting for this patron category produce a warning for this patron category if this item has previously been checked out to this patron if 'yes', not if 'no', defer to syspref setting if 'inherit'. +=head2 canplaceillopac + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +can this patron category place interlibrary loan requests + =head2 can_be_guarantee data_type: 'tinyint' @@ -259,6 +267,8 @@ __PACKAGE__->add_columns( is_nullable => 0, size => 7, }, + "canplaceillopac", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "can_be_guarantee", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "reset_password", @@ -378,8 +388,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-08 17:35:26 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B89OgAY/KnJbQaHpu5Xdfg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-31 03:27:07 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YYc52oTevOT+WXnDsG2mrQ sub koha_object_class { 'Koha::Patron::Category'; @@ -389,6 +399,7 @@ sub koha_objects_class { } __PACKAGE__->add_columns( + '+canplaceillopac' => { is_boolean => 1 }, '+can_be_guarantee' => { is_boolean => 1 }, '+exclude_from_local_holds_priority' => { is_boolean => 1 }, '+require_strong_password' => { is_boolean => 1 }, -- 2.30.2