From a1096f9d16eb1e68da381778eeb2564c7251c76b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 23 Apr 2015 12:35:55 -0300 Subject: [PATCH] Bug 13023: DBRev 3.19.00.027 Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/updatedatabase.pl | 4 ++-- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 7a2bd30c01..5a6bbdb0f6 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10142,8 +10142,8 @@ if(CheckVersion($DBversion)) { SetVersion($DBversion); } -$DBversion = '3.19.00.XXX'; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { +$DBversion = '3.19.00.027'; +if ( CheckVersion($DBversion) ) { $dbh->do("ALTER TABLE items ADD COLUMN itemnotes_nonpublic MEDIUMTEXT AFTER itemnotes"); $dbh->do("ALTER TABLE deleteditems ADD COLUMN itemnotes_nonpublic MEDIUMTEXT AFTER itemnotes"); print "Upgrade to $DBversion done (Bug 4222: Nonpublic note not appearing in the staff client) Please check each of your frameworks to ensure your non-public item notes are mapped to items.itemnotes_nonpublic. After doing so please have your administrator run misc/batchRebuildItemsTables.pl )\n"; diff --git a/kohaversion.pl b/kohaversion.pl index 96da662dfc..0bfccb73b9 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.19.00.026'; + our $VERSION = '3.19.00.027'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5