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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
569366e447
commit
25c7e7ff09
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue