From: Galen Charlton Date: Mon, 7 Dec 2015 21:44:09 +0000 (-0500) Subject: return all potential next copy statuses, not just first X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cea39c9b275dfd23e05efbe4f4328af3732bc5d6;p=working%2FEvergreen.git return all potential next copy statuses, not just first Signed-off-by: Galen Charlton Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 49c4175ccc..aba5512c4b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -711,7 +711,7 @@ sub filter_user_copy_alerts { } } - $a->alert_type->next_status($U->unique_unnested_numbers($a->alert_type->next_status)); + $a->alert_type->next_status([$U->unique_unnested_numbers($a->alert_type->next_status)]); push @final_alerts, $a; } @@ -792,7 +792,7 @@ sub generate_system_copy_alerts { my @alerts; foreach my $t (@final_types) { - $t->next_status($U->unique_unnested_numbers($t->next_status)); + $t->next_status([$U->unique_unnested_numbers($t->next_status)]); my $alert = new Fieldmapper::asset::copy_alert (); $alert->alert_type($t->id);