]> git.koha-community.org Git - koha.git/commit
Bug 34509: Use select2 to load vendors on basket creation
authorNick Clemens <nick@bywatersolutions.com>
Wed, 9 Aug 2023 17:39:45 +0000 (17:39 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 31 Aug 2023 10:11:30 +0000 (10:11 +0000)
commit99c091f4234852ae4ed16e0a610c878bf38e47a2
treeda22385dfa9c725b8f191d819470719c77bb3b71
parentc37d1877b2006f9a1208a4191b1cdee1e12c4803
Bug 34509: Use select2 to load vendors on basket creation

This patch moves the dropdown to use select2 and avoids loading all
vendors at page load.

To test:
 1 - Create some extra vendors in your system, ideally over 20
 2 - Search for a vendor in acquisitions
 3 - Click 'New->basket'
 4 - Note the dropdown of all vendors
 5 - Choose a vendor and create a basket
 6 - Apply patch
 7 - Repeat
 8 - Note only a partial list of vendors is loaded
 9 - Search in the dropdown and confirm vendors are returned
10 - Select a vendor and create the basket

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 77ee1ca74317f8e2ffa1a5dcccaffa4081a508da)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit f9cd9cca6a87702a4a739550d72adc5ac65332fa)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
acqui/basketheader.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt