Bugzilla – Attachment 111253 Details for
Bug 26529
Holds rules enforced incorrectly when not set at library level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26529: Remove existing blank rules
Bug-26529-Remove-existing-blank-rules.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2020-10-05 16:04:12 UTC
(
hide
)
Description:
Bug 26529: Remove existing blank rules
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-10-05 16:04:12 UTC
Size:
1.12 KB
patch
obsolete
>From 96a24b00b35b75ea35853371218177e317c11de9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 28 Sep 2020 13:57:01 +0000 >Subject: [PATCH] Bug 26529: Remove existing blank rules > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../bug_26529_remove_blank_default_branch_rules.perl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_26529_remove_blank_default_branch_rules.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_26529_remove_blank_default_branch_rules.perl b/installer/data/mysql/atomicupdate/bug_26529_remove_blank_default_branch_rules.perl >new file mode 100644 >index 0000000000..63d491b9be >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_26529_remove_blank_default_branch_rules.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ DELETE FROM circulation_rules WHERE >+ rule_name IN ('holdallowed','hold_fulfillment_policy','returnbranch') AND >+ rule_value = '' >+ }); >+ NewVersion( $DBversion, 26529, "Description"); >+} >-- >2.20.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 26529
:
110686
|
110687
|
110695
|
110714
|
110715
|
110856
|
110857
|
110859
|
111251
|
111252
| 111253 |
111382
|
111471
|
111511