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=f1a307797e9480f35d80f2f98227bfd925e51769;p=working%2FEvergreen.git return all potential next copy statuses, not just first 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 7e3efcb005..ddb6d98f5a 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -701,7 +701,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; } @@ -782,7 +782,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);