]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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)
committerMike Rylander <mrylander@gmail.com>
Mon, 2 Apr 2012 14:18:53 +0000 (10:18 -0400)
commit0f3291546b37cd3722e3b64e78203c95282fc369
treec7621c3d2c81a3de5421be73b31fe395df1b90fc
parent5b69128dc054e4b8b79606f76fe614aca211151a
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/parts/record/issues.tt2