[Koha-bugs] [Bug 15096] Export today's checked in barcodes: Display warning if reading history is set to "never"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 12:39:48 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15096

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 46501
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46501
Bug 15096: Export today's checked in barcodes: Display warning if reading
history is set to "never"

Review of attachment 46501:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15096&attachment=46501)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc
@@ +118,5 @@
>  }
>  function export_barcodes() {
> +    [% IF (
> +              ( ! Koha.Preference('intranetreadinghistory') ) ||
> +              ( Koha.Preference('AnonymousPatron') == ( borrowernumber) ) ||

Could you detail this use case? If you are logged in with the anonymous patron
why do you want to block the export?

@@ +122,5 @@
> +              ( Koha.Preference('AnonymousPatron') == ( borrowernumber) ) ||
> +              ( privacy == 2 )
> +          )
> +    %]
> +        window.location = '/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %] ' ;

I'd prefer to disable the button on the same way as we do for the "update child
to adult patron" button.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list