]> 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:35 +0000 (15:35 -0400)
commit4eb23600cf3fb1fef7384d628a0c18702d238c47
tree99a86a3dc03e453438d1b8a3028cfe9f5cdaf1e0
parent085472193502d22ff4529940bd3bfafb677aab8d
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