Bugzilla – Attachment 128223 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: DB update
Bug-27981-DB-update.patch (text/plain), 1.07 KB, created by
Nick Clemens (kidclamp)
on 2021-12-03 14:58:21 UTC
(
hide
)
Description:
Bug 27981: DB update
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-12-03 14:58:21 UTC
Size:
1.07 KB
patch
obsolete
>From e7ff3bfa6021b936816e9252c5eb2b42847eabca 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: DB update > >--- > installer/data/mysql/atomicupdate/bug_27981.perl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_27981.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"); >+} >-- >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