]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 29 Aug 2023 21:43:05 +0000 (11:43 -1000)
commitf9cd9cca6a87702a4a739550d72adc5ac65332fa
tree4c9c6db573cfdf35cca259420a9409aabbb5df53
parent66e1992d4e9cd855a397e16310b2bd14a4aaeda4
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>
acqui/basketheader.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt