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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Aug 2021 10:53:54 +0000 (12:53 +0200)
commitcdc0f07f5d2a9c00102bb9eaf6d12ec5dd8da813
tree00b8c1a05f00cac539d56d441f35f1590e17f02f
parent8ba95bf885c1c0001e4c7a8224b0e4bf2a252f83
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt