Bugzilla – Attachment 169504 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.11 KB, created by
Nick Clemens (kidclamp)
on 2024-07-24 15:57:58 UTC
(
hide
)
Description:
Bug 19316: Add DBIC files
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-07-24 15:57:58 UTC
Size:
2.11 KB
patch
obsolete
>From a7e8135d14b1c07cdc5093db85b504ce4524900d 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 > >Signed-off-by: baptiste <baptiste.bayche@inlibro.com> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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 118b2251217..0880cd51e94 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 dcbd2275a82..94921b99017 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.39.2
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