From c968575ca1706d44e7a4e368763d5a2f356fc5eb Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Thu, 2 Sep 2021 08:38:17 +0200
Subject: [PATCH] Bug 28935: Allow gonenoaddress and lost for staff

---
 Koha/Patron/Allowlist.pm        | 2 --
 Koha/Patron/Allowlist/Public.pm | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Koha/Patron/Allowlist.pm b/Koha/Patron/Allowlist.pm
index 47dad6b2bf0..c0e34f56509 100644
--- a/Koha/Patron/Allowlist.pm
+++ b/Koha/Patron/Allowlist.pm
@@ -168,8 +168,6 @@ sub _global_deny_list {
     return qw(
       borrowernumber
       date_renewed
-      gonenoaddress
-      lost
       debarred
       debarredcomment
       relationship
diff --git a/Koha/Patron/Allowlist/Public.pm b/Koha/Patron/Allowlist/Public.pm
index b0891c164b8..a219e45fbf3 100644
--- a/Koha/Patron/Allowlist/Public.pm
+++ b/Koha/Patron/Allowlist/Public.pm
@@ -6,6 +6,8 @@ sub _deny_list {
     return qw(
       dateenrolled
       dateexpiry
+      gonenoaddress
+      lost
       borrowernotes
       opacnote
       sort1
-- 
2.25.1