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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 21 Jan 2022 18:04:34 +0000 (18:04 +0000)
commit47d3a08f6b5eeb2d740636435afad0c508d7ead1
tree75a74f747fa79ceb37b85d73f7bf58b7074928f8
parent6f9c968cccd46fc2bb5e82fd3bb17f966d180420
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>
(cherry picked from commit d9fb75f210227d33545e580eca72f54399b5ab3e)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt