Fix summary display in TPAC; avoid Content Cafe user/dbs/summareeeeeeez
authorDan Scott <dscott@laurentian.ca>
Fri, 27 Jul 2012 21:24:07 +0000 (17:24 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 27 Jul 2012 21:24:07 +0000 (17:24 -0400)
commit2e078dad238877df8976d1698dc2d4ae12015c9d
tree70ce5c2c4c2f2e47337ba7213109219e22354346
parent577460f7b8443fd7d73c9d17c4bf6a32c4cfd73e
Fix summary display in TPAC; avoid Content Cafe

While in misc_util.tt2 we're grabbing args.summary as a single string,
and args.summaries as the list of summaries, this gets complicated
elsewhere in the summaries display chain, where we're checking for the
number of list elements in "summary" (which is now a string), as well as
a confusion of logic where ContentCafe was being displayed whether or
not the environment variable existed.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/extras.tt2
Open-ILS/src/templates/opac/parts/record/summaryplus.tt2