Bugzilla – Attachment 170938 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.65 KB, created by
Jonathan Druart
on 2024-09-02 12:41:14 UTC
(
hide
)
Description:
Bug 37807: Disable "Export today's checked in barcodes" when needed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-09-02 12:41:14 UTC
Size:
1.65 KB
patch
obsolete
>From c7a5e7cd41467697a84c3ed6a111589209da12da 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. >--- > 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 ) %] > <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.34.1
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