From 6f3ff2bd3790e3fced03d6ba95a35edca99b2c62 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 30 Aug 2023 13:13:48 +0000 Subject: [PATCH] Bug 19316: Add DBIC files --- Koha/Schema/Result/Deleteditem.pm | 16 ++++++++++++++++ Koha/Schema/Result/Item.pm | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 118b225121..0880cd51e9 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -393,6 +393,18 @@ inventory number (MARC21 952$i) Exclude this item from local holds priority +=head2 sort1 + + data_type: 'varchar' + is_nullable: 1 + size: 50 + +=head2 sort2 + + data_type: 'varchar' + is_nullable: 1 + size: 50 + =cut __PACKAGE__->add_columns( @@ -517,6 +529,10 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "exclude_from_local_holds_priority", { data_type => "tinyint", is_nullable => 1 }, + "sort1", + { data_type => "varchar", is_nullable => 1, size => 50 }, + "sort2", + { data_type => "varchar", is_nullable => 1, size => 50 }, ); =head1 PRIMARY KEY diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index dcbd2275a8..94921b9901 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -397,6 +397,18 @@ inventory number (MARC21 952$i) Exclude this item from local holds priority +=head2 sort1 + + data_type: 'varchar' + is_nullable: 1 + size: 50 + +=head2 sort2 + + data_type: 'varchar' + is_nullable: 1 + size: 50 + =cut __PACKAGE__->add_columns( @@ -531,6 +543,10 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 32 }, "exclude_from_local_holds_priority", { data_type => "tinyint", is_nullable => 1 }, + "sort1", + { data_type => "varchar", is_nullable => 1, size => 50 }, + "sort2", + { data_type => "varchar", is_nullable => 1, size => 50 }, ); =head1 PRIMARY KEY -- 2.37.1 (Apple Git-137.1)