Bugzilla – Attachment 170975 Details for
Bug 37807
"Export today's checked in barcodes" not disabled when needed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37807: Disable "Export today's checked in barcodes" when needed
Bug-37807-Disable-Export-todays-checked-in-barcode.patch (text/plain), 1.70 KB, created by
David Nind
on 2024-09-03 10:41:42 UTC
(
hide
)
Description:
Bug 37807: Disable "Export today's checked in barcodes" when needed
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-09-03 10:41:42 UTC
Size:
1.70 KB
patch
obsolete
>From 0e72453129d2bba1166b60fa657524039121cd2e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <david@davidnind.com> >--- > 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 ) %] > <li data-bs-toggle="tooltip" data-bs-placement="left" title="Not allowed by patron's privacy settings"> > <a class="dropdown-item disabled" aria-disabled="true" id="exportbarcodes" href="#">Export today's checked in barcodes</a> > </li> >-- >2.39.2
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 37807
:
170938
|
170975
|
171596