Skip to content
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

Massload plugin only loads one time and does not execute 2nd time #2774

Closed
CODE-AXION opened this issue Feb 27, 2024 · 1 comment
Closed

Comments

@CODE-AXION
Copy link

i have implemented ajax seach,lazy loaded nodes and they all work fine

but the problem was normal search was hitting too many requests so i enabled massload plugin
which also works fine but it only works on first hit or call when i try to search other string it does not work

its only executed only 1 time here are the pic:

first time when i search it works perfectly:
image

2nd time when i search it does not work.
image

i have seen similar issues here of massload being only executed 1 time .

@vakata
please do solve this issue , it would be much appreciated !

thanks : )

@vakata
Copy link
Owner

vakata commented Mar 12, 2024

How is the plugin configured? For me it works like so:

                'massload' : {
                    'url' : "...",
                    'data' : function (ids) {
                        return { 'id' : ids.join(',') };
                    },
                    'dataType' : 'json',
                    'type' : 'GET'
                },

@vakata vakata closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants