-
Notifications
You must be signed in to change notification settings - Fork 753
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
page size of "all" #1366
Comments
Hi @ajax-zoom! Sorry for the long delay in my response! I'm still catching up with issues after returning from my vacation. You're correct, the behavior of the "all" setting does need to be changed.... please check out #1364. I would also appreciate it if you would test the code in that PR to see if it resolves this issue for you.
This option applies to the page selector, so I'm not sure what you mean by it not making sense.
This sounds like a reasonable idea. Alternatively, you could use the |
@Mottie: #1364 does not really solve the issue completly (consider filters etc.). In our opinion parsePageSize method should not return or save "all" if there is no "all" in the pager as an option. "all" should not be sent to server, at least not if configuration does not allow it, so the easiest way is to autodetect "all" in pager or make sending all optionally. We are using a customized version of pager which does work as expected but would like to stick to the project in the long run... Yes, customAjaxUrl could be abused to trigger a function before ajax request, we did not see it / it was not obvious :-) Thank you. |
Hi @ajax-zoom! This should now be fixed in v2.28.6. Please verify this on your end. |
I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread. |
@Mottie What should i do if i want to send page |
v2.26.0, a page size of "all" instead of a specific number will be saved and used on reload... forces to have "all" as an option(value) in select which is wrong for the following reasons:
maxOptionSize
does not make sense any moreparsePageSize
returns 10 as selected.What is the sense of forcing "all"? In case there is a reason behind it which we just not understand, please implement it optional. The only changes needed are inside
parsePageSize
andupdatePageDisplay
methods + an option for forcing "all".Also, AJAX requests might take some time... if we would like to implement a customer loader or maybe something else on start, these couple lines would be perfect in
getAjax
method (onBeforeGetAjaxFirst
andonBeforeGetAjax
are options ):The text was updated successfully, but these errors were encountered: