wishlist: add "Print Simplified Pull List" functionality (or equivalent) to web client Holds Pull List

Bug #1717010 reported by Andrea Neiman
This bug affects 7 people
Affects Status Importance Assigned to Milestone

Bug Description

I'm pulling together two previous bugs into this one wishlist item:

Bug 1442838 -- Web staff client: holds pull list does not have option to print all columns from screen
Bug 1715742 -- Holds list does not print in the order chosen

The webclient "Print Full List" button will print the pull list using the columns & sort order set in the print template "Hold Pull List". However, based on the above two bugs, there is also community desire for functionality replicating the XUL "Print Simplified Pull List" option, where the print template is bypassed and the list is printed in the manner & sort displayed onscreen.

I would envision this as a second Print button added to the existing Holds Pull List interface.

Revision history for this message
Kathy Lussier (klussier) wrote :

Given that this functionality exists in the xul client, but not in the web client, should it really be a wishlist request? I would consider it to be a bug. It's something some of our libraries are going to miss when they move to the web client.

Revision history for this message
Bill Erickson (berick) wrote :

For printing all columns, would it not be enough to apply the desired columns to the hold pull list print template (and save per workstation)? Or does the set of desired columns change, maybe depending on who's using a given workstation?

Revision history for this message
Andrea Neiman (aneiman) wrote :

I was interpreting at least some of the desire for an analogue of "Print Simplified Holds List" was to provide a way for users to pick varying sorts/displays on the fly despite what's set in the print template. I could be wrong though.

Revision history for this message
Bill Erickson (berick) wrote :

Looking at the sorting issue...

Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Printing an entire grid as displayed and as sorted seems like something that is going to keep coming up. There is a related bug (bug #1708474) for doing essentially the same thing, except with CSV data.

I'm going to address both of these by adding support (as discussed in bug #1708474) for fetching all columns (up to some reasonable max) and sending them to a new HTML template or for CSV exporting. Patch en route...

Related, once we have a HTML-based grid printing option, is there really any use case for printing CSV? It seems like exporting CSV and printing as HTML would cover it.

Revision history for this message
Kathy Lussier (klussier) wrote :

+1 to removing Print CSV option

Revision history for this message
Bill Erickson (berick) wrote :

Code pushed:


From the commit:

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.


The commit also removes the 'Print CSV' action.

Marking bug #1708474 as a duplicate.

tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.0-rc
assignee: Bill Erickson (berick) → nobody
Bill Erickson (berick)
Changed in evergreen:
status: New → Confirmed
Galen Charlton (gmc)
Changed in evergreen:
milestone: 3.0-rc → 3.0.1
Revision history for this message
Mike Rylander (mrylander) wrote :

I'm a fan! Thanks, Bill, picked to master and 3.0 for great justice.

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers