Bug 30220: Purchase suggestion defaults to first library
authorOwen Leonard <oleonard@myacpl.org>
Thu, 3 Mar 2022 16:45:43 +0000 (16:45 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Mar 2022 12:17:09 +0000 (08:17 -0400)
commitcaf905ca385b09b66c356fdd40315e1cdc8037e9
treec08f4a88e0f6bb90d3343019ac242f854dd4adca
parent33946ee8a77cd75928a81fcd3afa6ba3c510aa9a
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt