From 71062d04c52ac450ec7668872f4ee8259f08e772 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Tue, 16 Nov 2021 14:57:21 +0100
Subject: [PATCH] Bug 29456: (bug 18532 follow-up) handle Auto_Renewals
 messages in category

The new message appears in the list on the edit view, but the list view
is showing "unknown"

Test plan:
Set AutoRenewalNotices to "according to patron messaging prefs"
Edit a patron category
Tick all the checkboxes
On the category list view you should see a correct display in the
"Messaging" column

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
index 25a44cd949..5a305d139b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
@@ -596,6 +596,7 @@
                                                 [% ELSIF ( prefs.Item_Checkout ) %]Item checkout
                                                 [% ELSIF ( prefs.Ill_ready ) %]Interlibrary loan ready
                                                 [% ELSIF ( prefs.Ill_unavailable ) %]Interlibrary loan unavailable
+                                                [% ELSIF ( prefs.Auto_Renewals ) %]Auto renewal
                                                 [% ELSE %]Unknown
                                                 [% END %]:
                                                 <strong>[% transport.transport | html %]</strong><br />
-- 
2.11.0