Bug 25478: (25389 backport) Correct stray cases of LOST_RETURNED
The original DB update for bug 22563 incorrectly mapped CR to
LOST_RETURNED as aposed to LOST_RETURN. This patch catches such cases
and updates them in the update for bug 23805
(cherry picked from commit 483e40d223)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
parent
57bf9fc48d
commit
8ac1f30c91
|
|
@ -19998,6 +19998,14 @@ if ( CheckVersion($DBversion) ) {
|
|||
}
|
||||
);
|
||||
|
||||
# Catch LOST_RETURNED cases from original bug 22563 update
|
||||
$dbh->do(
|
||||
qq{
|
||||
UPDATE accountlines
|
||||
SET accounttype = 'LOST_RETURN'
|
||||
WHERE accounttype = 'LOST_RETURNED'
|
||||
});
|
||||
|
||||
# Adding credit_type_code to accountlines
|
||||
unless ( column_exists('accountlines', 'credit_type_code') ) {
|
||||
$dbh->do(
|
||||
|
|
|
|||
Loading…
Reference in New Issue