]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1746815: Fix sticky hold url param
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Mon, 5 Feb 2018 22:45:22 +0000 (17:45 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 25 May 2018 17:44:01 +0000 (13:44 -0400)
commitb5eb8762b6ac7bd14f6866051659d0a17c214c68
tree218f14bfdd2a456b88549c06dfb3dce5119d551a
parent1061e8db2e52be57e27dd30c1e3a2f07722775d2
LP#1746815: Fix sticky hold url param

Renamed the hold_id url param from "id" to "hid" and prevent it from
sticking in url's where it not needed.

To test
-------
[1] Log in to the public catalog as a patron that has at least
    two hold requests.
[2] Go to the My Account holds tab and edit one of the holds.
[3] Rather than submit a change, click on the holds tab again.
[4] Note that /only/ the hold you were edit displays, and that the
    'id' URL parameter persists as you navigate through the public
    catalog.
[5] Apply the patch and repeat steps 1-3. This time, you should
    see all of the holds.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/myopac/holds.tt2
Open-ILS/src/templates/opac/parts/myopac/base.tt2
Open-ILS/src/templates/opac/parts/topnav.tt2