-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix] fixing limit.start state in JModelList #8481
Conversation
Setting RTC based on review. |
Not sure if that is right. If you have SEF on then start is used and when off then limitstart. So I think we need to test that, wouldn't merge that on review |
Current code is wrong for sure. Doesn't make sense to take the "start" value and save it into the $limit variable. |
But if we don't set $limit it is always 0 so $limitstart is also 0, doesn't makes sense either. |
But we set $limit, this fix set $start too. For what reason we set $start to $limit ("warm" vs "soft")? |
For example: we have list.limit = 20 and list.start = 0. We set in url ?start=20. |
@Disaron it is not that there isn't a problem to fix, but around this part of the code looks odd and doesn't makes sense at all |
[fix] fixing limit.start state in JModelList
Fixing pagination bug according to this