handling an out of range page number
-
Fjan
- Assigned user changed from Chris Wanstrath to Mislav
-
Mislav
- State changed from new to resolved
In [393] I have added an "out_of_bounds?" method that returns true in conditions you've described. You can use it to decide what to do in your controllers or what to display in the view when the page requested doesn't exists. I will not make any guesses, so adjusting the page number to the last page is out of the question.
-
Mislav
Blah, Lighthouse didn't pick up changeset 393 properly ... see it here: http://plugins.require.errtheblo...
-
Fjan
cool thanks.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.