Bug 13023: DBRev 3.19.00.027
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 23 Apr 2015 15:35:55 +0000 (12:35 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 23 Apr 2015 15:46:47 +0000 (12:46 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 7a2bd30..5a6bbdb 100755 (executable)
@@ -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) <b>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 </b>)\n";
index 96da662..0bfccb7 100644 (file)
@@ -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