]> git.koha-community.org Git - koha.git/commit
Bug 17109: Remove second authentication from (opac-)sendbasket
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 11 Aug 2016 11:10:21 +0000 (13:10 +0200)
committerMason James <mtj@kohaaloha.com>
Wed, 3 May 2017 02:17:19 +0000 (14:17 +1200)
commitc55b093e79d404ff674dcccdb032a2d74cc398b9
tree669c2022fd062ba681e86c3ad0bc86442829c4eb
parente1294b6d91087b5d1050df623e5000cc46eb39c4
Bug 17109: Remove second authentication from (opac-)sendbasket

Patch deals with opac and intranet variant.
If we authenticated the first time, it is not necessary to do it
a second time rightaway.

Replaces a call to get_template_and_user (including checkauth) by
gettemplate.

Also removes duplicate use C4::Biblio statements.

Test plan:
[1] Put a few books in the cart.
[2] Send the cart from OPAC.
[3] Send the cart from intranet.

Tested 3 patches together. Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Mason James <mtj@kohaaloha.com>
basket/sendbasket.pl
opac/opac-sendbasket.pl