From 25c7e7ff095ad09b2a49a09e2fc8d95acf491394 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 Signed-off-by: Martin Renvoize --- 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 b27286fb1e..3d6ea935f9 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.5