Only load "new" serials display if we have data
authorDan Wells <dbw2@calvin.edu>
Thu, 29 Mar 2012 21:07:23 +0000 (17:07 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 29 Mar 2012 21:07:23 +0000 (17:07 -0400)
commit916eeae2e85bd7307db9749fb0bd0bfd54518e51
treec970d3f80134fbbd69fd48604af79b73a87f15c4
parent4ee2c7c2b80dc22730ddd8c75499af9eb8969363
Only load "new" serials display if we have data

If we try to load the "new" serials display template, but have no
data (for instance, if "Use fully compressed serial holdings" is
false), we get a server error.

Rather than wrap the whole template in an 'if', let's just not
load it.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/parts/record/issues.tt2