[Bug 32493] New: Vendor store loads unpaginated vendor list on ERM module main page
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Bug ID: 32493 Summary: Vendor store loads unpaginated vendor list on ERM module main page Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: ERM Assignee: jonathan.druart+koha@gmail.com Reporter: matt.blenkinsop@ptfs-europe.com CC: jonathan.druart+koha@gmail.com, jonathan.field@ptfs-europe.com, martin.renvoize@ptfs-europe.com, pedro.amorim@ptfs-europe.com Work is in progress to implement pagination on select dropdowns to avoid loading large lists of data for select options. However, in the ERMMain component there is an API call to fetch all the vendors and then load these into a Pinia store. This vendor store is then used in tables throughout ERM. The store should probably be removed and a different solution found for fetching the data for those tables to avoid a slow initial load of the ERM module. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32474 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32474 [Bug 32474] Implement infinite scroll in vue-select -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Ian Walls <ian@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian@bywatersolutions.com --- Comment #1 from Ian Walls <ian@bywatersolutions.com> --- I have a library with over 200K vendors, and this causes a 3.2 minute delay in loading the ERM module, making it nearly unusable. Would it make sense to use an on-demand autocomplete field here, instead of loading and storing locally the complete vendor list? After a user enters 2-3 characters of the vendor name, a paginated query is fired off to the API for a list of suggested vendors. Further entered characters further refine the list of possible vendors. see https://vuetifyjs.com/en/components/autocompletes/ for more details of how this is accomplished in Vue. If the local storage of the vendor list is used for other parts of the ERM than the vendor filter in the data tables, then perhaps a compromise could be made to set the pagination at a reasonably high number that returns all vendors for MOST libraries, but is still performant for libraries with a large vendor list. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34762 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34762 [Bug 34762] Add a search based select component to ERM -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 --- Comment #2 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- Hi Ian, I've created a component that can do the ajax based searching for the dropdown menu - see bug 34762 If approved then this can be used throughout the module, but we would need to assess how this would work with vendors as the vendor store is used throughout the module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Bug 32493 depends on bug 34762, which changed state. Bug 34762 Summary: Add a search based select component to ERM https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34762 What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |RESOLVED Resolution|--- |DUPLICATE -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Bug 32493 depends on bug 32474, which changed state. Bug 32474 Summary: Implement infinite scroll in vue-select https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32474 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32493 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- *** This bug has been marked as a duplicate of bug 32474 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org