Bug 8373

Summary: opacheader should not show in print layout
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P5 - low CC: veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Katrin Fischer 2012-07-05 14:21:48 UTC
Example: Options to print lists or carts from the OPAC.

The contents of the opacheader system preference should not show up on the print layouts.
Comment 1 Marc Véron 2016-01-05 16:31:29 UTC
Tested on current master with opac-shelves.pl:

If I use the browser's print preview, it looks OK. If I use the icon 'print', the whole page is printed, including the contents of the opacheader system preference.
Comment 2 Owen Leonard 2016-02-17 18:08:32 UTC
(In reply to Marc Véron from comment #1)
> Tested on current master with opac-shelves.pl:
> 
> If I use the browser's print preview, it looks OK. If I use the icon
> 'print', the whole page is printed, including the contents of the opacheader
> system preference.

I can't reproduce this bug either way. The opacheader <div> is contained within the #header-region <div> which has a class of "noprint." Seems like you'd have to have a display property applied to #opacheader to override the "noprint" class to make it show up in a printout.