Bugzilla – Attachment 185481 Details for
Bug 20644
Per itemtype setting for CheckPrevCheckout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20644: [DO NOT PUSH] DBIC Update
Bug-20644-DO-NOT-PUSH-DBIC-Update.patch (text/plain), 1.88 KB, created by
Shi Yao Wang
on 2025-08-15 20:36:48 UTC
(
hide
)
Description:
Bug 20644: [DO NOT PUSH] DBIC Update
Filename:
MIME Type:
Creator:
Shi Yao Wang
Created:
2025-08-15 20:36:48 UTC
Size:
1.88 KB
patch
obsolete
>From c44e04905ee8af0e42d863ac0e072875d730c0b9 Mon Sep 17 00:00:00 2001 >From: Shi Yao Wang <shi-yao.wang@inlibro.com> >Date: Fri, 15 Aug 2025 16:28:22 -0400 >Subject: [PATCH] Bug 20644: [DO NOT PUSH] DBIC Update > >--- > Koha/Schema/Result/Itemtype.pm | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 7e69f304abc..c7ae1bf9680 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -176,6 +176,15 @@ Group this item type with others with the same value on OPAC search options > > If automatic checkin is enabled for items of this type > >+=head2 checkprevcheckout >+ >+ data_type: 'enum' >+ default_value: 'inherit' >+ extra: {list => ["yes","no","inherit"]} >+ is_nullable: 0 >+ >+produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'. >+ > =head2 bookable > > data_type: 'tinyint' >@@ -230,6 +239,13 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 80 }, > "automatic_checkin", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "checkprevcheckout", >+ { >+ data_type => "enum", >+ default_value => "inherit", >+ extra => { list => ["yes", "no", "inherit"] }, >+ is_nullable => 0, >+ }, > "bookable", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); >@@ -344,8 +360,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-25 13:25:14 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jd0dYE700dpg1IiRnfbcEg >+# Created by DBIx::Class::Schema::Loader v0.07052 @ 2025-08-15 16:25:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TZcz0ppbZwT7yhRsqkg1xg > > __PACKAGE__->add_columns( > '+automatic_checkin' => { is_boolean => 1 }, >-- >2.43.0
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 20644
:
156974
|
156977
|
163627
|
165585
|
165586
|
165661
|
165662
|
170619
|
170620
|
170621
|
170622
|
176538
|
176539
|
178093
|
178094
|
179812
|
179813
|
179814
|
179815
|
180375
|
181680
|
181681
|
182469
|
182470
|
182476
|
182477
|
182787
|
182788
|
183403
|
183404
|
183405
|
183406
|
183407
|
183408
|
185448
|
185449
|
185450
|
185451
|
185478
|
185479
|
185480
|
185481
|
185557
|
185558
|
185559
|
185560
|
185665
|
185666
|
185669
|
185670
|
185671
|
185672
|
185673