[Koha-bugs] [Bug 36233] Cannot search invoices if too many vendors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 14 21:00:17 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36233

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163102|0                           |1
        is obsolete|                            |

--- Comment #14 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 163146
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163146&action=edit
Bug 36233: Use select2 to load vendors on invoice search

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 'Invoices'
 4 - Note the dropdown of all vendors 'Vendor:' in search bar on left
 5 - The vendor you came from shoudl eb selected
 6 - Apply patch
 7 - Repeat
 8 - Note only a partial list of vendors is loaded, confirm current vendor
still selected
 9 - Search in the dropdown and confirm vendors are returned
10 - Select a vendor and search
11 - confirm selection is retained

Signed-off-by: Lisette Scheer <lisette at bywatersolutions.com>
Rebased-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list