From c2afd317620c4e51c671edd6732505f95bc4a425 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 23 Oct 2025 12:57:42 +0200 Subject: [PATCH] Bug 41067: Disable OPAC mandatory when not editable If a patron attribute is not editable at the OPAC it should not be possible to make it mandatory. Test plan: Create a new patron attribute and confirm that checkboxes behaviour is consistent. Signed-off-by: Owen Leonard Signed-off-by: Laura_Escamilla --- .../en/modules/admin/patron-attr-types.tt | 46 ++++++++++++++----- 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt index 56ab6a79b9..f83cacf1fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt @@ -408,6 +408,40 @@ [% INCLUDE 'datatables.inc' %] [% INCLUDE 'select2.inc' %]