]> git.koha-community.org Git - koha.git/commit
Bug 17698: Do not send pending_checkout_notes from all circ scripts
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Jun 2018 13:52:33 +0000 (10:52 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Jul 2018 15:23:44 +0000 (15:23 +0000)
commitd90ff21454ed1d2f9682cbbfa7e07c87381a3257
tree6bd8174f9d1148998061a4ffc579b30748bd614a
parent419470d3cd9513e7e210dd893d69ec5bb9c45f94
Bug 17698: Do not send pending_checkout_notes from all circ scripts

It's safer to send what we need from C4::Auth it's needed from a whole
module.
The SELECT COUNT(*) query will only be done when needed (so not made
from scripts outside of circ)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
15 files changed:
C4/Auth.pm
circ/branchoverdues.pl
circ/branchtransfers.pl
circ/checkout-notes.pl
circ/circulation.pl
circ/on-site_checkouts.pl
circ/renew.pl
circ/returns.pl
circ/selectbranchprinter.pl
circ/transferstoreceive.pl
circ/view_holdsqueue.pl
circ/waitingreserves.pl
koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt
mainpage.pl