TPAC: Fix series display for multiple series fields
authorDan Scott <dan@coffeecode.net>
Sat, 19 Jan 2013 19:28:06 +0000 (14:28 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 23 Jan 2013 05:34:34 +0000 (00:34 -0500)
commit2e299e32b22dc6e7cea35ab1691c0b9751c4157b
tree29cad886f130c72437e3a0c64043b550788a445d
parentd80943fd3abc1536edfc91dc535b46d7e4a73e92
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