Conjoined items / foreign items display in TPAC
authorDan Scott <dscott@laurentian.ca>
Mon, 15 Jul 2013 15:28:21 +0000 (11:28 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 15 Jul 2013 16:13:54 +0000 (12:13 -0400)
commitedcb621896963a3915444ad7959517b985d76fef
tree71bb195ff3bcb538509a2c73be7e82640026b3ce
parentc82012abd8836dd972235256ab5781b86a09489f
Conjoined items / foreign items display in TPAC

Foreign items now appear at the top of the copy table, no matter what
copy page you are on. See "The two violin concertos" in the Concerto
data set for an example; the foreign bib is linked, with a label for the
designated peer type.

The parent bib record displays all of the child records in the copy table
underneath the pertinent copy; each title / author entry links to the
child bib display, naturally. See "Violin concerto no. 2 ; Six duos
(from 44 Duos)" in the Concerto data set for an example.

We escape all of the text retrieved from the database to avoid XSS
(thanks for the heads-up from Pasi Kallinen).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Now with HTML escaping for safety

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/record/copy_table.tt2