From 775029660cb6498e13b95434f213b3299804bc31 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 28 Mar 2019 15:44:47 +0000 Subject: [PATCH] Bug 18213: DBRev 18.12.00.033 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug18213.perl | 7 ------- installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug18213.perl diff --git a/Koha.pm b/Koha.pm index d2e4379d0c..a4c26c193b 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 = "18.12.00.032"; +$VERSION = "18.12.00.033"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug18213.perl b/installer/data/mysql/atomicupdate/bug18213.perl deleted file mode 100644 index 6f6ce549bf..0000000000 --- a/installer/data/mysql/atomicupdate/bug18213.perl +++ /dev/null @@ -1,7 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "UPDATE search_field SET facet_order=10 WHERE name='ln'" ); - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 18213 - Add language facets to Elasticsearch)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 8a55175ab6..7382aa8a31 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -17809,6 +17809,13 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 18235 - Elastic search - make facets configurable)\n"; } +$DBversion = '18.12.00.033'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "UPDATE search_field SET facet_order=10 WHERE name='ln'" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 18213 - Add language facets to Elasticsearch)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5