From: Galen Charlton <gmc@equinoxinitiative.org>
Date: Thu, 22 Feb 2018 20:25:10 +0000 (-0500)
Subject: LP#1676608: properly auto-override during missing checkout
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5b75e9b01c94c861a5ede9e76f34ac10ec3a4a8f;p=evergreen%2Fjoelewis.git

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>
---

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']
 );