]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix summary display in TPAC; avoid Content Cafe
authorDan Scott <dscott@laurentian.ca>
Fri, 27 Jul 2012 21:24:07 +0000 (17:24 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 30 Jul 2012 15:25:27 +0000 (11:25 -0400)
commitdf16ba71822e48b7661b1057d523b15deb20f7c8
treebca36c542986e39e948f3f6830170f6469acd6b6
parentbe736f312fd5d078714740e9afc866fe977a5bf5
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>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/extras.tt2
Open-ILS/src/templates/opac/parts/record/summaryplus.tt2