LP1052941: Internal Server Error when adding to My List in staff client.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 3 Oct 2012 16:42:01 +0000 (12:42 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 9 Oct 2012 17:00:52 +0000 (13:00 -0400)
commit583bf046ad122225c749105b973b1d78293271ec
treeda142c70e041d3bb328391c002e850dc3e1ed56c
parentc387ad7febf7f3ce9049187e18016fc5aa108e80
LP1052941: Internal Server Error when adding to My List in staff client.

Don't redirect in EGCatLoader/Account.pm when in staff client context and
we're adding to a My List/Bookbag.

Add a wrapper macro to bookbag_actions.tt2 to wrap the add to book bag URLs
with some javascript that opens a new tab in the staff client. This is to
prevent the staff person from losing their search results as they would if
the new URL were opened in their current tab.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/parts/bookbag_actions.tt2