Bugzilla – Attachment 162698 Details for
Bug 35924
The 'checkin slip' button should not be available for patrons whose privacy is set to never
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35924: (QA follow-up): Comment magic number (patron.privacy < 2)
Bug-35924-QA-follow-up-Comment-magic-number-patron.patch (text/plain), 2.35 KB, created by
Victor Grousset/tuxayo
on 2024-03-03 00:10:08 UTC
(
hide
)
Description:
Bug 35924: (QA follow-up): Comment magic number (patron.privacy < 2)
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-03-03 00:10:08 UTC
Size:
2.35 KB
patch
obsolete
>From ed13572c0948c6f2503dcda47fec8f033d07b032 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Sun, 3 Mar 2024 01:07:30 +0100 >Subject: [PATCH] Bug 35924: (QA follow-up): Comment magic number > (patron.privacy < 2) > >--- > 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 %] > <li><a id="print_overdues" href="#">Print overdues</a></li> > [% END %] >- [% IF patron.privacy < 2 %] >+ [% IF patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %] > <li><a class="printslip" data-code="checkinslip" href="#">Print checkin slip</a></li> > [% 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 @@ > </span> > </span> > [% END %] >- [% IF riloo.patron.privacy < 2 %] >+ [% IF riloo.patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %] > <a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> > [% END %] > [% ELSE %] >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35924
:
161592
|
161593
|
161734
|
161735
|
162696
|
162697
| 162698