Bugzilla – Attachment 139537 Details for
Bug 31388
Add select2 to fund selection in new order form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31388: Add select2 to fund selection in new order form
Bug-31388-Add-select2-to-fund-selection-in-new-ord.patch (text/plain), 1.78 KB, created by
Katrin Fischer
on 2022-08-20 09:03:17 UTC
(
hide
)
Description:
Bug 31388: Add select2 to fund selection in new order form
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-20 09:03:17 UTC
Size:
1.78 KB
patch
obsolete
>From 041a393d4740d295119c94de0b45a7fceb08c0e4 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 17 Aug 2022 11:18:46 -1000 >Subject: [PATCH] Bug 31388: Add select2 to fund selection in new order form > >In new order form, when you have a lot of funds, >would be useful to have autocompletion in funds combobox. > >Test plan : >1) Create an activ and an inactiv budget with at least one fund >2) Create a new order 'From a new (empty) record' >3) Check you see autocompletion in 'Fund' combobox >4) Click on 'Show inactive' >5) Check you see inactiv funds in combobox > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 13a47cb960..ce9dcd2324 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -366,7 +366,7 @@ > [% active_count= active_count + budget_loo.b_active %] > [% END %] > [% END %] >- <select id="budget_id" name="budget_id"> >+ <select class="select2" id="budget_id" name="budget_id"> > <option value="">Select a fund</option> > [% FOREACH budget_loo IN budget_loop %] > [% level_indent_cnt = 0 %] >@@ -540,6 +540,7 @@ > [% Asset.js("js/additem.js") | $raw %] > [% Asset.js("js/cataloging.js") | $raw %] > [% INCLUDE 'calendar.inc' %] >+ [% INCLUDE 'select2.inc' %] > <script> > actTotal = ""; > >-- >2.30.2
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 31388
:
139304
|
139383
| 139537