]> 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:21 +0000 (12:24 -0400)
commit6548e26e4af3c40abbbaaf461b7a28372f9f1037
treee89f758f4694d966284a8a76bfdbbf1f3fa5457f
parent34748feae085d378c005f3fc95b4fbe8be3b4f8b
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