LP1116258 - Hide download circ history if none to be found user/bshum/tpac-hide-download-circ-history
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 05:04:06 +0000 (01:04 -0400)
commit9aa6cb1302c50d97c47633b0238198ab223a7933
tree2e0dbbacbf05c4cafd750d3eb7e04382463d6ca5
parentd4f6bf89576e470f16214f5848b0782e4bec8573
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>
Open-ILS/src/templates/opac/myopac/circ_history.tt2