From 3f249b1cc43dd59da8ac640767b74a151bed7cb5 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 9 Jul 2018 11:55:07 -0400 Subject: [PATCH] LP#1766716 Closed dates API emergency filter fix Fix closed dates emergency => emergency_closing DB column name thinko. Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm index 2c3722c9c5..bc87abeb9c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm @@ -141,7 +141,7 @@ sub fetch_dates { [{ '-or' => [ { close_start => { ">=" => $start }, close_end => { "<=" => $end } }, - { emergency => { "!=" => undef }, "+aec" => { process_end_time => { "=" => undef } } } + { emergency_closing => { "!=" => undef }, "+aec" => { process_end_time => { "=" => undef } } } ], org_unit => $org, }, {flesh => 2, -- 2.11.0