New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many ajax calls with multiple groups #438

Closed
merkjs opened this Issue Jul 22, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@merkjs

merkjs commented Jul 22, 2018

Hello,

I implemented this plugin to my project which has approx. 20 groups. Each one has different source. DropdownFilter is used but search makes 20 ajax call, even I select an item from filter dropdown.

Is it possible to make only one ajax call when filter is selected?

Thanks a lot! @running-coder

@merkjs merkjs changed the title from Too many ajax calls to Too many ajax calls with multiple groups Jul 22, 2018

@running-coder

This comment has been minimized.

Owner

running-coder commented Jul 23, 2018

hey @merkjs indeed that should not happen, will look at that

@running-coder running-coder added the Bug label Jul 23, 2018

@running-coder running-coder added this to the 2.10.6 milestone Jul 23, 2018

running-coder added a commit that referenced this issue Jul 24, 2018

@running-coder

This comment has been minimized.

Owner

running-coder commented Jul 24, 2018

I've pushed a fix on the develop branch, let me know if that works 👍

@merkjs

This comment has been minimized.

merkjs commented Jul 25, 2018

Hello again @running-coder

I checked develop branch, and it works very well now.

Thanks for your effort.

I prepared a demo, if anyone wants to check live;
http://workable-relation123.surge.sh

@running-coder

This comment has been minimized.

Owner

running-coder commented Jul 25, 2018

awesome! will include that in the next release

running-coder added a commit that referenced this issue Jul 30, 2018

Version 2.10.6
Fixes
- Fix #401 $.Ajax call for multiple groups from separate sources, if a single source fails, typeahead remains in fetching data view
- Fix #438 Too many ajax calls with multiple groups

running-coder added a commit that referenced this issue Nov 28, 2018

Version 2.10.6
Fixes
- Fix #401 $.Ajax call for multiple groups from separate sources, if a single source fails, typeahead remains in fetching data view
- Fix #438 Too many ajax calls with multiple groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment