Bug 31388 - Add select2 to fund selection in new order form
Summary: Add select2 to fund selection in new order form
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Fridolin Somers
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 31440 34491
  Show dependency treegraph
 
Reported: 2022-08-17 21:18 UTC by Fridolin Somers
Modified: 2024-07-04 20:37 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact: Caroline Cyr La Rose
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/631
Text to go in the release notes:
Version(s) released in:
22.11.00
Circulation function:


Attachments
Bug 31388: Add select2 to fund selection in new order form (1.68 KB, patch)
2022-08-17 21:22 UTC, Fridolin Somers
Details | Diff | Splinter Review
Bug 31388: Add select2 to fund selection in new order form (1.73 KB, patch)
2022-08-18 13:26 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 31388: Add select2 to fund selection in new order form (1.78 KB, patch)
2022-08-20 09:03 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2022-08-17 21:18:29 UTC
In new order form, when you have a lot of funds, would be useful to have autocompletion in funds combobox.
Comment 1 Fridolin Somers 2022-08-17 21:22:37 UTC
Created attachment 139304 [details] [review]
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
Comment 2 Fridolin Somers 2022-08-17 21:23:34 UTC
If sound OK i will create a patch for creation of order from other sources.
Comment 3 Owen Leonard 2022-08-18 13:26:26 UTC
Created attachment 139383 [details] [review]
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>
Comment 4 Katrin Fischer 2022-08-20 09:03:17 UTC
Created attachment 139537 [details] [review]
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>
Comment 5 Tomás Cohen Arazi (tcohen) 2022-08-22 16:43:27 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!
Comment 6 Fridolin Somers 2022-08-23 07:52:59 UTC
Great thanks.

I've opened Bug 31440.
Feel free to assign.

Maybe there are other places where we could use select2 ;)
Comment 7 Lucas Gass (lukeg) 2022-10-14 22:01:02 UTC
Enhancement will not be backported to 22.05.x series