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:49:21 +0000 (00:49 -0500)
commit6e3578b904b705eb3198311bed42d9499764b66f
treed52bf761264493ec73fc1b702d850145219228f9
parent75de9753ecc77fc7e2478411fcb8a4ed7a420927
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