Bug 10108 - can't print more than one page of overdues
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 May 2013 18:44:10 +0000 (14:44 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 15 May 2013 11:16:26 +0000 (07:16 -0400)
commitfac9d5447abae5c2f3d9febd9ccaf42a4ed6030c
tree92d279bb8373f709350b085016454f9968604f10
parent1b877167f5231f7eef6c7f82cba9322bdba0dbac
Bug 10108 - can't print more than one page of overdues

Printing a report like overdues in Firefox results in a printout which
cuts off in the middle. I traced the cause to something in the YUI grid
system, although I'm not sure what specific definition is the cause.

This patch adds a "screen" parameter to the @import which loads the YUI
grid CSS file. This will disable YUI grid layouts in print views. The
main disadvantage to this, as far as I can tell, is that it will
"linearize" some layouts. For instance: the patron detail page
(moremember.pl) which on screen is divided into two columns. I think
this disadvantage is outweighed by the ability to make complete prints.

To test, apply the patch and clear your cache. Try printing various
reports from Firefox. Printouts should look correct and be complete.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
all tests pass

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
CSS only change, no strings involved.
Tested with a saved SQL report 'select * from borrowers'.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css