Bugzilla – Attachment 185451 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: Change checkprevcheckout as ENUM at DB level
Bug-20644-Change-checkprevcheckout-as-ENUM-at-DB-l.patch (text/plain), 1.46 KB, created by
Shi Yao Wang
on 2025-08-15 13:22:41 UTC
(
hide
)
Description:
Bug 20644: Change checkprevcheckout as ENUM at DB level
Filename:
MIME Type:
Creator:
Shi Yao Wang
Created:
2025-08-15 13:22:41 UTC
Size:
1.46 KB
patch
obsolete
>From b5f8fa08ef5a082085b55ac569fd204487797054 Mon Sep 17 00:00:00 2001 >From: Shi Yao Wang <shi-yao.wang@inlibro.com> >Date: Fri, 15 Aug 2025 08:51:48 -0400 >Subject: [PATCH] Bug 20644: Change checkprevcheckout as ENUM at DB level > >--- > .../atomicupdate/bug_20644-add_checkprevcheckout_to_items.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_20644-add_checkprevcheckout_to_items.pl b/installer/data/mysql/atomicupdate/bug_20644-add_checkprevcheckout_to_items.pl >index d09e1f1e53b..a44b06df40e 100755 >--- a/installer/data/mysql/atomicupdate/bug_20644-add_checkprevcheckout_to_items.pl >+++ b/installer/data/mysql/atomicupdate/bug_20644-add_checkprevcheckout_to_items.pl >@@ -11,7 +11,7 @@ return { > $dbh->do( > q{ > ALTER TABLE itemtypes >- ADD IF NOT EXISTS checkprevcheckout varchar(7) NOT NULL DEFAULT 'inherit' COMMENT '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''.' >+ ADD IF NOT EXISTS checkprevcheckout enum('yes', 'no', 'inherit') NOT NULL DEFAULT 'inherit' COMMENT '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''.' > AFTER automatic_checkin; > } > ); >-- >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