From 0233c1d93fe0b490deffcad9e8b51f1bb57747bd Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Sun, 3 Mar 2024 01:07:30 +0100 Subject: [PATCH] Bug 35924: (QA follow-up): Comment magic number (patron.privacy < 2) Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 8b8c867cb4..a625834163 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -30,7 +30,7 @@ [% IF patron.has_overdues %]
  • Print overdues
  • [% END %] - [% IF patron.privacy < 2 %] + [% IF patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %]
  • Print checkin slip
  • [% END %] [% FOREACH notice IN Notices.GetTemplates( 'patron_slip' ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 7db81178ac..ab891c58c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1334,7 +1334,7 @@ [% END %] - [% IF riloo.patron.privacy < 2 %] + [% IF riloo.patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %] Print checkin slip [% END %] [% ELSE %] -- 2.39.5