DBrev Bug 11023 - Automatic item modification by age (Was "Toggle new

status for items")
This commit is contained in:
Brendan A Gallagher 2016-03-02 23:08:52 +00:00
parent 5e36ca7818
commit 74fbe017ef

View file

@ -11942,7 +11942,7 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion); SetVersion($DBversion);
} }
$DBversion = "3.21.00.XXX"; $DBversion = "3.23.00.034";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do(q{ $dbh->do(q{
ALTER TABLE `items` ADD `new` VARCHAR(32) NULL AFTER `stocknumber`; ALTER TABLE `items` ADD `new` VARCHAR(32) NULL AFTER `stocknumber`;