LP#1717010 Webstaff print/export full grid user/berick/lp1717010-grid-print-export-all
authorBill Erickson <berickxx@gmail.com>
Mon, 25 Sep 2017 14:35:07 +0000 (10:35 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 25 Sep 2017 16:49:17 +0000 (12:49 -0400)
commit0519c948401018c88a0e822a61688d92f1358007
tree0b225ea1570b1b161e4ac81ec4153e556fa53a0b
parent1f10da4df50b6b4605c95e8ed5f6fb2d3e8f57bd
LP#1717010 Webstaff print/export full grid

1. Adds a new 'Print Full Grid' action which generates printer-friendly
HTML output of all grid rows.  The print content matches the display
grid structure, uses the same field filters (e.g. for formatting dates)
and is retrieved using the same query and sort parameters as the display
grid.

To render the grid as HTML, a new print HTML template is included at
print_templates/t_grid_html.tt2.

2. Modifies the 'Export CSV' action to export all grid rows instead of
only the visible rows.  The link label is modified to 'Export Full CSV'
to better indicate its intent.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/share/print_templates/t_grid_html.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/t_autogrid.tt2
Open-ILS/web/js/ui/default/staff/services/grid.js