]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/templates/opac/parts/result/table.tt2
LP#1098669: improve handling of Content Cafe external content in staff client
authorGalen Charlton <gmc@esilibrary.com>
Fri, 11 Jan 2013 18:11:48 +0000 (13:11 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 15 Jan 2013 19:41:50 +0000 (14:41 -0500)
commit2b2bb871bdaadbf6051bf3a03aa193915eb0cdf3
tree002b9e2464b6aa8f2630187f0e14532e30a653cb
parent8eb30ca76a541dcf2f90d1e9492a2b73c104c0a4
LP#1098669: improve handling of Content Cafe external content in staff client

This patch introduces a new TPac content variable, ctx.ext_proto, to
specify whether external content should be retrieved via HTTP or HTTPS.
ctx.proto can't be used for that purpose since it's set to 'oils' when
TPac is running inside the staff client.

This fixes a bug where Content Cafe reviews wouldn't display in the staff
client bib record page and where clicking on the reviews link from search
results would open an empty window.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
Open-ILS/src/templates/opac/parts/record/summaryplus.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2