Bug 28569: In opac-suggestions.pl preselect user library
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 16 Jun 2021 09:17:19 +0000 (11:17 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Aug 2021 11:32:09 +0000 (07:32 -0400)
commit52e4227e7e8b6178067502f44d868f69bb517d04
tree2e6d4b58f8f802ca28bef8d310451cf7eafca95f
parent5602a405cc650f9390ad3ce643abf1c6880b1cc8
Bug 28569: In opac-suggestions.pl preselect user library

In OPAC new purchase suggestion opac-suggestions.pl for library combobox :
actually first value is selected, user library should be selected.

Test plan :
1) Create a new library named 'ZZZ top'
2) Set this library on a user U1
2) Loggin at OPAC with user U1
3) Create a new suggestion
=> Check library 'ZZZ top' is preselected

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt