From f3633586908db81bd5c6406bffaf0db03c1fbd21 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Fri, 12 Feb 2016 12:43:32 -0700 Subject: [PATCH] Bug 15411: DBrev 3.23.000.019 (part 2) Update Koha.pm and updatedatabase.pl. Signed-off-by: Jesse Weaver --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Koha.pm b/Koha.pm index 23ab78e051..c1fd72cb1a 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 = "3.23.00.018"; +$VERSION = "3.23.00.019"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 561abb70a1..8ee4088e8a 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11723,6 +11723,16 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.23.00.019"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + UPDATE `authorised_values` SET `lib`='Non-fiction' WHERE `lib`='Non Fiction'; + }); + + print "Upgrade to $DBversion done (Bug 15411 - Change Non Fiction to Non-fiction in authorised_values)\n"; + SetVersion($DBversion); +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5