]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Conjoined items / foreign items display in TPAC
authorDan Scott <dscott@laurentian.ca>
Mon, 15 Jul 2013 15:28:21 +0000 (11:28 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 20 Aug 2013 15:31:21 +0000 (11:31 -0400)
commitb77db8b7e553087f962f791c169d7a4d3fac7c6f
tree1283e687a7641c2176664e7ccfe6673e058ca12d
parent30b75ceadeeb86f50ac874000e1ca38ebed725db
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>
Signed-off-by: Ben Shum <bshum@biblio.org>
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