From c7a5e7cd41467697a84c3ed6a111589209da12da Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 Sep 2024 14:38:59 +0200 Subject: [PATCH] Bug 37807: Disable "Export today's checked in barcodes" when needed If patron has privacy==2 ("Never: Delete my history immediately"), the "Export today's checked in barcodes" button is supposed to be disabled, with a tooltip with an explanation, but it is not. Test plan: Turn on OpacPrivacy and select "Never" in your privacy settings (OPAC) Go to the circulation page for this patron (staff) and notice that the export button (under "More") is disabled and has a tooltip when the mouse hover it. --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index b27286fb1ed..3d6ea935f9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -134,7 +134,7 @@ [% END %] [% END %] [% IF Koha.Preference('intranetreadinghistory') %] - [% IF ( privacy == 2 ) %] + [% IF ( patron.privacy == 2 ) %]
  • Export today's checked in barcodes
  • -- 2.34.1