Bug 13993: DBRev 3.21.00.009
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit a80d188c83)
Conflicts:
Koha.pm
This commit is contained in:
parent
b710e31b45
commit
181fcc2542
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
||||||
# - #4 : the developer version. The 4th number is the database subversion.
|
# - #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
|
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||||
# and is automatically called by Auth.pm when needed.
|
# and is automatically called by Auth.pm when needed.
|
||||||
$VERSION = "3.20.01.001";
|
$VERSION = "3.21.00.009";
|
||||||
|
|
||||||
sub version {
|
sub version {
|
||||||
return $VERSION;
|
return $VERSION;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
UPDATE aqorders SET orderstatus='cancelled'
|
|
||||||
WHERE (datecancellationprinted IS NOT NULL OR
|
|
||||||
datecancellationprinted<>'0000-00-00');
|
|
||||||
|
|
@ -10550,6 +10550,17 @@ if ( CheckVersion($DBversion) ) {
|
||||||
SetVersion ($DBversion);
|
SetVersion ($DBversion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$DBversion = "3.21.00.009";
|
||||||
|
if ( CheckVersion($DBversion) ) {
|
||||||
|
$dbh->do(q|
|
||||||
|
UPDATE aqorders SET orderstatus='cancelled'
|
||||||
|
WHERE (datecancellationprinted IS NOT NULL OR
|
||||||
|
datecancellationprinted<>'0000-00-00');
|
||||||
|
|);
|
||||||
|
print "Upgrade to $DBversion done (Bug 13993: Correct orderstatus for transferred orders)\n";
|
||||||
|
SetVersion($DBversion);
|
||||||
|
}
|
||||||
|
|
||||||
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
|
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
|
||||||
# SEE bug 13068
|
# SEE bug 13068
|
||||||
# if there is anything in the atomicupdate, read and execute it.
|
# if there is anything in the atomicupdate, read and execute it.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue