kpac : repair Top link collab/berick/kids-opac
authorBill Erickson <berick@esilibrary.com>
Tue, 26 Jun 2012 19:36:50 +0000 (15:36 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 26 Jun 2012 19:36:50 +0000 (15:36 -0400)
commit210b1f6968307eb4d93930c5f17bad79f5dbd01f
tree9dc3c4ccbe9394400e2dcfad6dc14af8f04f37e7
parent1e150dd97604952fc6277f6785d6e7b7ed702ab6
kpac : repair Top link

Template Toolkit string.replace() does an inline replacement instead of
returning a value.  Use .replace() correctly when building the Top URL,
or the result will be an empty href, which direct to "here" in
Firefox/Chrome, but directs to "here, minus the page name in the URL"
(e.g. http://domain/eg/kpac/) in IE, which ultimately directs the user
to /eg/opac/login (since it doesn't match any configured paths).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/kpac/parts/paginate.tt2