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

Update pagy.rb to handle asking for a page > the last page #264

Closed
wants to merge 1 commit into from

Commits on Oct 15, 2020

  1. Update pagy.rb

    raising an error when what was a good page number is no longer good if a waste of code! Exceptions should only be raised for exceptional conditions no standard processing.
    
    when i first view the page there are 20 tasks... someone else bulk closes 15... now there is only 1 page and a refresh needs to by exception handed.... NO WAY!
    weiserma committed Oct 15, 2020
    Copy the full SHA
    2f9d729 View commit details
    Browse the repository at this point in the history