]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1717010 Webstaff print/export full grid
authorBill Erickson <berickxx@gmail.com>
Mon, 25 Sep 2017 14:35:07 +0000 (10:35 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 16 Oct 2017 19:35:27 +0000 (15:35 -0400)
commit23ab19f6ecc45315137681d5c43d0b4a22f74560
treee9e5253f1aeae00663ec0819f06aadcab2e3df9b
parent3175bcc916c159282f93c630a15a9f334466ed9f
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>
Signed-off-by: Mike Rylander <mrylander@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