The print layout of a run report would be a little nicer if the 'rows per page' option would not show.
Created attachment 84043 [details] [review] Bug 20679: Created syspref to hide/show 'rows per page' from reports print layout Test Plan: 1. Update the database 2. Find reportRowsPerPage syspref and confirm it is set to Show by default 3. In another tab, make a new report to run or run an existing report 4. Confirm that rows per page dropdown shows 5. Change syspref to Don't show 6. Refresh report tab and confirm that rows per page dropdown doesn't show.
Jasmine, this patch works very well but I don't think it accomplishes what the bug is about. My understanding is that the bug refers specifically to the way the page looks when printed. To hide something in the print view we need to address it using the print stylesheet, intranet-tmpl/prog/css/print.css. There is a ruleset starting at about line 289 which just lists elements which should be "display:none" when printed. I think all you need to do is add the id of the "Rows per page" form to that list.
Created attachment 84092 [details] [review] Bug 20679: Removed 'rows per page' from report print layout Test plan: 1. Create a report or view an existing report 2. Notice that 'Rows per page:' is visible 3. Print report (Ctrl+P) 4. Confirm that on printed report, 'Rows per page:' is no longer visible
Created attachment 84107 [details] [review] Bug 20679: Removed 'rows per page' from report print layout Test plan: 1. Create a report or view an existing report 2. Notice that 'Rows per page:' is visible 3. Print report (Ctrl+P) 4. Confirm that on printed report, 'Rows per page:' is no longer visible Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 84126 [details] [review] Bug 20679: Removed 'rows per page' from report print layout Test plan: 1. Create a report or view an existing report 2. Notice that 'Rows per page:' is visible 3. Print report (Ctrl+P) 4. Confirm that on printed report, 'Rows per page:' is no longer visible Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.03
Pushed to 18.05.x for 18.05.09
Pushed to 17.11.x for 17.11.15