Bug 13986: Printing a list only prints the results of the page you are viewing
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 13 Apr 2015 15:23:20 +0000 (11:23 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 15 May 2015 19:01:33 +0000 (16:01 -0300)
commit9495ecaab6777bdd0e92aa0239b9c9cb5759e3e9
treef3bee8635c38b3e6acda9f71127849df45d41e29
parentdf8b81678bd26a9b506aef789aa44d4ce8a412ff
Bug 13986: Printing a list only prints the results of the page you are viewing

The print list button only prints the page you are viewing, and not the
entire list.

Test Plan:
1) Apply this patch
2) Create a list with enough items that it will paginate
3) Browse to that list, click the 'print list' button
4) Note the entire list prints, not just the visible items

Tested in staff client, works as expected.
It would be great to have the same for OPAC as well (OPAC still prints first page only).
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/VirtualShelves/Page.pm
koha-tmpl/intranet-tmpl/prog/en/css/print.css
koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
virtualshelves/shelves.pl