LP1052941: Internal Server Error when adding to My List in staff client. user/dyrcona/lp1052941
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 3 Oct 2012 16:42:01 +0000 (12:42 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 3 Oct 2012 16:42:01 +0000 (12:42 -0400)
commitf9f97b441d04dd1026677a68ad842a3bd6a65e83
treedcb73936a235dd01be39be3eb17f366f34577069
parent4115d24228d0de21a2c325838d4a7a601d238bd1
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/parts/bookbag_actions.tt2