Bug 29419: Retain user's inputs when suggesting for purchase and match found
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Nov 2021 10:55:08 +0000 (11:55 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 14 Jan 2022 14:09:46 +0000 (09:09 -0500)
commitd9fb75f210227d33545e580eca72f54399b5ab3e
treee0c5948d31eafc1a00ea1113792c31e2cf73c1d7
parent84e142afd1458ed8ea591db0fc58748235ca0bd9
Bug 29419: Retain user's inputs when suggesting for purchase and match found

If a user suggests for purchase and a match is found, their inputs was
not retained: quantity, item type, library, reason.

Test plan:
1. Suggest for purchase
2. Fill the title in with a string that will match an existing record
3. Fill value in quantity, item type, library and reason input/dropdown
4. Submit
=> Notice that with this patch the values you entered are retained on
the confirmation screen

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt