Bugzilla – Attachment 122356 Details for
Bug 27981
Add option to automatically set the 001 control number to the biblionumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27981: (QA follow-up) Adjust atomic update
Bug-27981-QA-follow-up-Adjust-atomic-update.patch (text/plain), 2.20 KB, created by
Marcel de Rooy
on 2021-06-24 07:07:25 UTC
(
hide
)
Description:
Bug 27981: (QA follow-up) Adjust atomic update
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-06-24 07:07:25 UTC
Size:
2.20 KB
patch
obsolete
>From e481221d73b6b0bd63fff5d364e877273ea0bb41 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 24 Jun 2021 06:20:23 +0000 >Subject: [PATCH] Bug 27981: (QA follow-up) Adjust atomic update >Content-Type: text/plain; charset=utf-8 > >[1] Insert ignore. >[2] Remove references to bug 9921. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/atomicupdate/bug_27981.perl | 9 +++++++++ > installer/data/mysql/atomicupdate/bug_9921.perl | 11 ----------- > 2 files changed, 9 insertions(+), 11 deletions(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_27981.perl > delete mode 100644 installer/data/mysql/atomicupdate/bug_9921.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_27981.perl b/installer/data/mysql/atomicupdate/bug_27981.perl >new file mode 100644 >index 0000000000..db7c36ff70 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_27981.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do( >+ q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('autoControlNumber','OFF','biblionumber|OFF', >+ 'Used to autogenerate a Control Number: biblionumber will be as biblionumber; OFF will leave it as is','Choice');} >+ ); >+ >+ NewVersion( $DBversion, 27981, "Make it possible to force 001 = biblionumber"); >+} >diff --git a/installer/data/mysql/atomicupdate/bug_9921.perl b/installer/data/mysql/atomicupdate/bug_9921.perl >deleted file mode 100644 >index 7358523c82..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_9921.perl >+++ /dev/null >@@ -1,11 +0,0 @@ >-$DBversion = 'XXX'; # will be replaced by the RM >-if( CheckVersion( $DBversion ) ) { >- # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" ); >- $dbh->do( >- q{INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES ('autoControlNumber','OFF','biblionumber|OFF', >- 'Used to autogenerate a Control Number: biblionumber will be as biblionumber; OFF will leave it as is','Choice');} >- ); >- >- # Always end with this (adjust the bug info) >- NewVersion( $DBversion, 9921, "Make it possible to force 001 = biblionumber"); >-} >-- >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 27981
:
118461
|
118513
|
119704
|
119705
|
119717
|
121805
|
122280
|
122301
|
122344
|
122356
|
122672
|
122674
|
122675
|
124279
|
124280
|
124281
|
128223
|
128224
|
128225
|
132034
|
132035
|
132036
|
134536
|
134537
|
134538
|
134539
|
136022
|
140092
|
140093
|
140094
|
140095
|
140096
|
140097
|
140502