]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1654534: Prevent loop that occurs when staff us 'place another hold' link
authorKathy Lussier <klussier@masslnc.org>
Fri, 6 Jan 2017 16:13:26 +0000 (11:13 -0500)
committerBen Shum <ben@evergreener.net>
Fri, 10 Feb 2017 12:06:57 +0000 (07:06 -0500)
commitcc481b043893c52951d4cbe9b836bdcf381968e3
tree943b2323a3d84d9ab7966020e81a44bcac055adf
parentc6dc037017fd495966667ab20fc69b21ede013b4
LP#1654534: Prevent loop that occurs when staff us 'place another hold' link

A hidden field that tracked the page the user was on before placing a hold was
inadvertently removed in another bug fix. As a result, if staff used the link
to place another hold on the same title, they were stuck in a loop where they
couldn't return to the source page after hitting the 'continue' button. This
commit restores that hidden field.

Also provides a fix so that hold labels used in the place another hold link
can be translated.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/opac/parts/place_hold.tt2
Open-ILS/src/templates/opac/parts/place_hold_result.tt2