]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1116258 - Hide download circ history if none to be found
authorBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 05:04:06 +0000 (01:04 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 16:24:25 +0000 (12:24 -0400)
commit46ea18efa2303e3c26b33b097dbda940cb0cc5d2
tree88c2c503e4934740ca81e8094704ac3a75257d50
parente799aee1f17a9a19c6fe41c269057a6e4a3c98e8
LP1116258 - Hide download circ history if none to be found

As noted in LP1116258, if there is no circ history for a patron, but they
click on the Download CSV button, it leads them to unhappy server errors.

So, hide the Download CSV button unless the number of circs > 0.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/src/templates/opac/myopac/circ_history.tt2