Bugzilla – Attachment 122128 Details for
Bug 28569
In opac-suggestions.pl user library is not preselected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28569: In opac-suggestions.pl preselect user library
Bug-28569-In-opac-suggestionspl-preselect-user-lib.patch (text/plain), 2.47 KB, created by
Nick Clemens (kidclamp)
on 2021-06-18 13:02:50 UTC
(
hide
)
Description:
Bug 28569: In opac-suggestions.pl preselect user library
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-06-18 13:02:50 UTC
Size:
2.47 KB
patch
obsolete
>From 2b6f12014396f2d81b2ece4208cee3d5dd6932e1 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 16 Jun 2021 11:17:19 +0200 >Subject: [PATCH] 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> >--- > 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 c9e824faef..da0f03ceb9 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 ) %] > <label for="branch" class="required">Library:</label> > <select name="branchcode" id="branch" required="required"> >- [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] >+ [% PROCESS options_for_libraries libraries => Branches.all %] > </select> > <span class="required">Required</span> > [% ELSE %] > <label for="branch">Library:</label> > <select name="branchcode" id="branch"> >- [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] >+ [% PROCESS options_for_libraries libraries => Branches.all %] > </select> > [% END %] > </li> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28569
:
122022
|
122032
| 122128