]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1671635: Maintain search parameters throughout place hold process
authorKathy Lussier <klussier@masslnc.org>
Fri, 22 Sep 2017 19:18:12 +0000 (15:18 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 19:34:34 +0000 (14:34 -0500)
commit63b8ca3abea5ae2f6078ee5a8a09ad376e0c05dd
tree22b2695a78b271bfd1232d556d1a492f093b8e42
parenta91faae8bc5da244251d0b05841c5612b2a29180
LP#1671635: Maintain search parameters throughout place hold process

Add hidden fields to the Place Hold form for the search query, type
and locg fields so that they will appear correctly in the search bar
on the holds confirmation page. This commit also keeps the query
parameter in the URL after clicking the Place Hold link from the search
results page.

Test Plan:
Log into the public catalog and perform a search that is limited to a library
that differs from the user's preferred search library and using a search type
that is not keyword (e.g. title or author). Place a hold on any title from
either the search results or record page. After submitting the form, look
at the search parameters in the search bar on the hold confirmation page.

Pre-patch, the query terms will not appear, the search type will revert back
to the default of keyword, and the search library will be the user's preferred
search library.

Post-patch, the query parameters will be maintained in the search bar.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/place_hold.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2