Bugzilla – Attachment 74261 Details for
Bug 20388
Ability to add search fields from UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11674: DBRev 17.12.00.031
Bug-11674-DBRev-171200031.patch (text/plain), 2.93 KB, created by
Séverine Queune
on 2018-04-16 19:36:58 UTC
(
hide
)
Description:
Bug 11674: DBRev 17.12.00.031
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2018-04-16 19:36:58 UTC
Size:
2.93 KB
patch
obsolete
>From 5967127cb65e2edf8252a8db93740f0feb084fd1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Apr 2018 14:09:03 -0300 >Subject: [PATCH] Bug 11674: DBRev 17.12.00.031 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >https://bugs.koha-community.org/show_bug.cgi?id=20388 >--- > Koha.pm | 2 +- > .../atomicupdate/bug_11674-config_for_marc_field_doc_urls.sql | 3 --- > installer/data/mysql/updatedatabase.pl | 11 +++++++++++ > 3 files changed, 12 insertions(+), 4 deletions(-) > delete mode 100644 installer/data/mysql/atomicupdate/bug_11674-config_for_marc_field_doc_urls.sql > >diff --git a/Koha.pm b/Koha.pm >index 01b2f4f..c1b8da3 100644 >--- a/Koha.pm >+++ b/Koha.pm >@@ -29,7 +29,7 @@ use vars qw{ $VERSION }; > # - #4 : the developer version. The 4th number is the database subversion. > # used by developers when the database changes. updatedatabase take care of the changes itself > # and is automatically called by Auth.pm when needed. >-$VERSION = "17.12.00.030"; >+$VERSION = "17.12.00.031"; > > sub version { > return $VERSION; >diff --git a/installer/data/mysql/atomicupdate/bug_11674-config_for_marc_field_doc_urls.sql b/installer/data/mysql/atomicupdate/bug_11674-config_for_marc_field_doc_urls.sql >deleted file mode 100644 >index 5fb200c..0000000 >--- a/installer/data/mysql/atomicupdate/bug_11674-config_for_marc_field_doc_urls.sql >+++ /dev/null >@@ -1,3 +0,0 @@ >- >-INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) >-VALUES ('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. \"MARC21\" or \"UNIMARC\". {FIELD} = field number, eg. \"000\" or \"048\". {LANG} = user language, eg. \"en\" or \"fi-FI\"', 'free'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 279953f..615871a 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -15829,6 +15829,17 @@ if( CheckVersion( $DBversion ) ) { > print "Upgrade to $DBversion done (Bug 19882 - Add system preference NovelistSelectStaffProfile)\n"; > } > >+$DBversion = '17.12.00.031'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q| >+ INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) >+ VALUES ('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. \"MARC21\" or \"UNIMARC\". {FIELD} = field number, eg. \"000\" or \"048\". {LANG} = user language, eg. \"en\" or \"fi-FI\"', 'free') >+ |); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 11674 - Add system preference MarcFieldDocURL)\n"; >+} >+ > # SEE bug 13068 > # if there is anything in the atomicupdate, read and execute it. > >-- >2.1.4
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 20388
:
73158
|
73165
|
73167
|
73476
|
73626
|
73627
|
73629
|
73681
|
73682
|
73918
|
73919
|
73940
|
73943
|
73944
|
73945
|
73946
|
74261
|
74718
|
74719
|
78658
|
78659
|
80709
|
86912
|
87196
|
87197
|
87198
|
87199
|
87201
|
87202
|
87203
|
87204
|
88075
|
88079
|
88080
|
88081
|
88082
|
88083
|
89117
|
89118
|
89121
|
89733
|
89894
|
90517
|
90518
|
90519
|
90520
|
90521
|
90522
|
90523
|
90524
|
98011
|
98012
|
98013
|
98014
|
98015
|
98016
|
98017
|
98018
|
99960
|
99961
|
99962
|
99963
|
99964
|
99965
|
99966
|
99967
|
119296
|
119317
|
119318
|
120104
|
163449
|
163450
|
163451
|
163452
|
163460
|
163461
|
163462
|
163463
|
164529
|
164530
|
164531
|
164532
|
164533
|
164534
|
164535
|
164789
|
164790
|
164791
|
164792
|
164793