From 5b75e9b01c94c861a5ede9e76f34ac10ec3a4a8f Mon Sep 17 00:00:00 2001
From: Galen Charlton <gmc@equinoxinitiative.org>
Date: Thu, 22 Feb 2018 15:25:10 -0500
Subject: [PATCH] LP#1676608: properly auto-override during missing checkout

This patch ensures that suppressing the checkout of missing copy alert
does, in fact, suppress the alert.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
---
 Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 927e3f059b..8dbfcc2145 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -47,7 +47,7 @@ my %COPY_ALERT_OVERRIDES = (
     "CLAIMSRETURNED\tCHECKIN" => ['CIRC_CLAIMS_RETURNED'],
     "LOST\tCHECKOUT" => ['OPEN_CIRCULATION_EXISTS'],
     "LONGOVERDUE\tCHECKOUT" => ['OPEN_CIRCULATION_EXISTS'],
-    "MISSING\tCHECKOUT" => ['COPY_STATUS_MISSING'],
+    "MISSING\tCHECKOUT" => ['COPY_NOT_AVAILABLE'],
     "DAMAGED\tCHECKOUT" => ['COPY_NOT_AVAILABLE'],
     "LOST_AND_PAID\tCHECKOUT" => ['COPY_NOT_AVAILABLE', 'OPEN_CIRCULATION_EXISTS']
 );
-- 
2.11.0