Bugzilla – Attachment 110458 Details for
Bug 25265
Elasticsearch - Batch editing items on a biblio can lead to incorrect index
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18958: DBRev 20.06.00.039
Bug-18958-DBRev-200600039.patch (text/plain), 2.82 KB, created by
Kyle M Hall (khall)
on 2020-09-21 12:41:29 UTC
(
hide
)
Description:
Bug 18958: DBRev 20.06.00.039
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-09-21 12:41:29 UTC
Size:
2.82 KB
patch
obsolete
>From 5c8eac5f644a92b94b8404ec45af096cac4fa284 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 18 Sep 2020 09:46:10 +0000 >Subject: [PATCH] Bug 18958: DBRev 20.06.00.039 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=25265 >--- > Koha.pm | 2 +- > .../bug_18958_add_reserve_id_to_hold_fill_targets.perl | 9 --------- > installer/data/mysql/updatedatabase.pl | 10 ++++++++++ > 3 files changed, 11 insertions(+), 10 deletions(-) > delete mode 100644 installer/data/mysql/atomicupdate/bug_18958_add_reserve_id_to_hold_fill_targets.perl > >diff --git a/Koha.pm b/Koha.pm >index acf84c7017..cd95e06b64 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 = "20.06.00.038"; >+$VERSION = "20.06.00.039"; > > sub version { > return $VERSION; >diff --git a/installer/data/mysql/atomicupdate/bug_18958_add_reserve_id_to_hold_fill_targets.perl b/installer/data/mysql/atomicupdate/bug_18958_add_reserve_id_to_hold_fill_targets.perl >deleted file mode 100644 >index 4849771c51..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_18958_add_reserve_id_to_hold_fill_targets.perl >+++ /dev/null >@@ -1,9 +0,0 @@ >-$DBversion = 'XXX'; # will be replaced by the RM >-if( CheckVersion( $DBversion ) ) { >- >- if( !column_exists( 'hold_fill_targets', 'reserve_id' ) ) { >- $dbh->do( "ALTER TABLE hold_fill_targets ADD COLUMN reserve_id int(11) DEFAULT NULL AFTER item_level_request" ); >- } >- >- NewVersion( $DBversion, 18958, "Add reserve_id to hold_fill_targets"); >-} >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 2e50b2eb6c..f61b7c5976 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -22797,6 +22797,16 @@ if( CheckVersion( $DBversion ) ) { > NewVersion( $DBversion, 24807, "Add 'year' type to improve sorting behaviour" ); > } > >+$DBversion = '20.06.00.039'; >+if( CheckVersion( $DBversion ) ) { >+ >+ if( !column_exists( 'hold_fill_targets', 'reserve_id' ) ) { >+ $dbh->do( "ALTER TABLE hold_fill_targets ADD COLUMN reserve_id int(11) DEFAULT NULL AFTER item_level_request" ); >+ } >+ >+ NewVersion( $DBversion, 18958, "Add reserve_id to hold_fill_targets"); >+} >+ > # SEE bug 13068 > # if there is anything in the atomicupdate, read and execute it. > my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/'; >-- >2.24.1 (Apple Git-126)
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 25265
:
107832
|
107855
|
107867
|
109538
|
109556
|
110262
|
110263
|
110264
|
110380
|
110381
|
110382
|
110457
|
110458
|
110459
|
110560
|
110561
|
110562
|
110565
|
110594
|
110595
|
110596
|
110597
|
110615
|
110618
|
110729
|
110730
|
110731
|
110732
|
110733
|
110734
|
110736
|
110737
|
110882
|
110883
|
110937