]> git.koha-community.org Git - koha.git/commit
Bug 19708: Improve code for printing the cart in OPAC
authorDavid Bourgault <david.bourgault@inlibro.com>
Tue, 28 Nov 2017 16:23:01 +0000 (11:23 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:31:16 +0000 (17:31 -0300)
commit9eed6c5190818b9ed40bedcb0242be9d8fc34f62
tree6b66554d97983781b320f39769e2be38a310315a
parent46c4aa3551f810e8d1853f5013a282ce4ee95541
Bug 19708: Improve code for printing the cart in OPAC

This removes a lot of useless code relating to the print function from opac-basket.tt, opac-basket.pl and opac/basket.js.

It also fixes the CSS so that no extra blank page is printed.

To test:
0) Add an item to your cart
1) Print your basket
    Note the appearance of the page. There will be an extra blank page.
2) Apply patch
3) Reload basket
4) Print your basket
    The appearce should be identical. The extra blank page is gone.

This only affects the OPAC.

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: claude <claude.brayer@cea.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt
koha-tmpl/opac-tmpl/bootstrap/js/basket.js
opac/opac-basket.pl