From 2e2621dd7a5c269df74ba6a8c0c00351f5e983c8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Jun 2022 09:54:25 +0200 Subject: [PATCH] Bug 30874: Replace categoryname == Test plan == 1. Apply all patches 2. Create a new patron in a given category => Form show the dropdown with the selected category 3. Edit again => Value is kept 4. Edit a category to give it specific values for: messaging prefs, password strength/length, can be guarantee 5. Edit the patron, change the category, and confirm that the different limitation are correctly applied. Signed-off-by: Victor Grousset/tuxayo --- .../prog/en/modules/members/memberentrygen.tt | 8 ++++---- members/memberentry.pl | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index c5f17cb6f0..bdf59c87d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -20,7 +20,7 @@ Modify patron [% END %] [% INCLUDE 'patron-title.inc' no_html = 1 %] - [% IF categoryname %]([% categoryname | html %])[% END %] + [% IF patron_category %]([% patron_category.description | html %])[% END %] [% END %] › Patrons › Koha