Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
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";
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