Bug 30220: Purchase suggestion defaults to first library
authorOwen Leonard <oleonard@myacpl.org>
Thu, 3 Mar 2022 16:45:43 +0000 (16:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 16 Mar 2022 08:30:50 +0000 (22:30 -1000)
commitd2073e8b46a05f9f8f0c3b3b4c6d6ef5a59ac9e7
tree3eabbb270a24efe877e3367d2e81e34ef07e9cc3
parent55381b6270275682e0420b3e7073f82109ed006b
Bug 30220: Purchase suggestion defaults to first library

This patch updates the OPAC suggestions form to update the variable
used to pre-select the logged-in user's library.

To test, apply the patch and make sure the "suggestion" preference is
set to "Allow."

- Log in to the OPAC and click "your purchase suggestions" in the
  sidebar menu on your summary page.
- Click "New purchase suggestion."
- The selected library should match the logged-in user's home library.

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