LP1052941: Internal Server Error when adding to My List in staff client. user/bshum/lp1052941
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 3 Oct 2012 16:42:01 +0000 (12:42 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 4 Oct 2012 04:42:01 +0000 (00:42 -0400)
commit0ca7df3980cf373712c921b69ba37958776c3aaf
tree1ec867cd654314367e5023771d1646652979fa24
parent290a8d27d7bc7dccdcc91c00ab2db7183f01800d
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