Bugzilla – Attachment 154964 Details for
Bug 19316
Items should have sort1 and sort2 fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19316: Add DBIC files
Bug-19316-Add-DBIC-files.patch (text/plain), 2.94 KB, created by
Matt Blenkinsop
on 2023-08-30 14:09:47 UTC
(
hide
)
Description:
Bug 19316: Add DBIC files
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-08-30 14:09:47 UTC
Size:
2.94 KB
patch
obsolete
>From 2275f74613956a6bcc105c6c8279ec313222ff7e Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 30 Aug 2023 13:13:48 +0000 >Subject: [PATCH] Bug 19316: Add DBIC files > >--- > Koha/Schema/Result/Deleteditem.pm | 20 ++++++++++++++++++-- > Koha/Schema/Result/Item.pm | 20 ++++++++++++++++++-- > 2 files changed, 36 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm >index 7047142ba3..023892b4d4 100644 >--- a/Koha/Schema/Result/Deleteditem.pm >+++ b/Koha/Schema/Result/Deleteditem.pm >@@ -378,6 +378,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( >@@ -498,6 +510,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 >@@ -513,8 +529,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("itemnumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-12 18:18:47 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6TcVaUWoDdAGfBOr83ZOWQ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-30 10:20:12 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:smNohDljysRgcTUzLrXd7Q > > __PACKAGE__->add_columns( > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index ab5f09418b..ef338578de 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -382,6 +382,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( >@@ -512,6 +524,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 >@@ -943,8 +959,8 @@ __PACKAGE__->might_have( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-07-26 17:44:52 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FHB+BvL4it4HrzlfNCxoKw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-30 10:20:12 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9XdMnuuP+gRaNfrKBLovrw > > __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); > >-- >2.37.1 (Apple Git-137.1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19316
:
154963
|
154964
|
154965
|
154966
|
154967
|
166298
|
166299
|
166300
|
166301
|
166578
|
166593
|
169466
|
169467
|
169468
|
169469
|
169470
|
169503
|
169504
|
169505
|
169506
|
169507