From 01dd14125e7fe0fc2783c0f75a89281cc596be54 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Feb 2023 09:11:09 +0000 Subject: [PATCH] Bug 29449: Show userid on "Personal details" tab To reproduce: - Login to the OPAC - Go to the "Personal details" tab - Verify the Username/userid of the logged in user is not shown anywhere To test: - Apply this patch - Reload the "Personal details" tab - Verify the userid is now shown below the "Library card number" - Try adding "userid" to PatronSelfModificationBorrowerUnwantedField and verify the field is hidden as expected - Sign off --- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 04c8c3e655..d145703535 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -236,6 +236,13 @@ [% END %] + [% UNLESS hidden.defined('userid') %] +
  • + + [% borrower.userid | html %] +
  • + [% END %] + [% UNLESS hidden.defined('dateexpiry') %]
  • -- 2.30.2