From 311314b4919921caa9b8bb2975e2bcb7a2c9c98b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Mar 2022 16:45:43 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall (cherry picked from commit caf905ca385b09b66c356fdd40315e1cdc8037e9) Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index 5a7ec2c2ed..88158bf15c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -186,13 +186,13 @@ [% IF ( branchcode_required ) %] Required [% ELSE %] [% END %] -- 2.39.5