LP1116258 - Hide download circ history if none to be found user/paxed/tpac-hide-download-circ-history-signoff
authorBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 05:04:06 +0000 (01:04 -0400)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Fri, 15 Mar 2013 07:31:32 +0000 (09:31 +0200)
commit471d2cf06b08915f32092c056238ab7f10fcea71
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>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/src/templates/opac/myopac/circ_history.tt2