]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC: Fix series display for multiple series fields
authorDan Scott <dan@coffeecode.net>
Sat, 19 Jan 2013 19:28:06 +0000 (14:28 -0500)
committerBen Shum <bshum@biblio.org>
Sat, 19 Jan 2013 21:11:17 +0000 (16:11 -0500)
commit142ec2f42021a38c3bdf55714c3c91177b542c98
tree215f75c96a84aa3f2a9e962b35d1e851f7f65fdf
parent363e2ef1fd1c87b8c3b8b2f814c8a6b0ddfec29f
TPAC: Fix series display for multiple series fields

This commit adds one test record, "Harry Potter and the Goblet of Fire",
which contains multiple series fields. TPAC would display the series
fields in a purely additive fashion as the variable was not reset after
each field. Now we initialize the series var for each new series field
we retrieve, fixing the display problem.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/series.tt2
Open-ILS/tests/datasets/sql/bibs_graphic_880.sql