From 00758c6f0b236339d80e1e34dbb64c4796769a9f 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. Signed-off-by: David Nind Signed-off-by: Nick Clemens --- 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.39.2