From 86df299ce4ab11202aa5924e0358f17b98a2140e 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. --- .../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 56ab6a79b98..f83cacf1faf 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' %]