]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 29 Aug 2023 17:37:07 +0000 (14:37 -0300)
commit77ee1ca74317f8e2ffa1a5dcccaffa4081a508da
tree46369ec005739e32be82a1166d69aded17732053
parentb679c8221141d7b998bf7600f06b48908ac0b83a
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>
acqui/basketheader.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt