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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 Jan 2022 22:38:35 +0000 (12:38 -1000)
commitc780d61f90a385026f2b442767035211705fe997
treec44b17eafdc4c98a6ef8d6a1c1accc9a47f24503
parent1824b761a8626cb13ea8ba911a6e4b0bcb49c89d
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt