Bug 28108: (QA follow-up) Move 'ORDER' back into 'ACQUISITIONS'
With the re-introduction of 'AQUISITIONS' as a logging module in Koha, it makes sence to move the ORDER notice logging back into that module whilst leaving the other 'CLAIMS' notices under their own logging module code. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
bc2f433a61
commit
fd2d257d23
|
|
@ -534,8 +534,9 @@ sub SendAlerts {
|
|||
return { error => $error }
|
||||
unless $success;
|
||||
|
||||
my $module = $action eq 'ACQUISITION ORDER' ? 'ACQUISITIONS' : 'CLAIMS';
|
||||
logaction(
|
||||
"CLAIMS",
|
||||
$module,
|
||||
$action,
|
||||
undef,
|
||||
"To="
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ $DBversion = 'XXX'; # will be replaced by the RM
|
|||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do(q{
|
||||
UPDATE action_logs SET module = 'CLAIMS'
|
||||
WHERE module = 'ACQUISITIONS' AND ( action = 'SERIAL CLAIM' OR action = 'ACQUISITION ORDER' OR action = 'ACQUISITION CLAIM')
|
||||
WHERE module = 'ACQUISITIONS' AND ( action = 'SERIAL CLAIM' OR action = 'ACQUISITION CLAIM')
|
||||
});
|
||||
|
||||
$dbh->do(q{
|
||||
|
|
|
|||
Loading…
Reference in New Issue