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

Check pagination wrt new pastes #25

Open
amcnamara opened this issue Jan 5, 2012 · 1 comment
Open

Check pagination wrt new pastes #25

amcnamara opened this issue Jan 5, 2012 · 1 comment

Comments

@amcnamara
Copy link
Collaborator

Reminder to self: verify this is the case.

While I was bouncing through model/paste I noticed that the pagination offset is tied to the most recent paste instead of whatever it was when the user's session first entered the all-pastes view; in which case if 20 pastes were added since the window rendered hitting next would fetch the same 20 pastes...

@causal-agent
Copy link
Collaborator

One way to solve this would be to paginate by using "pastes after" an id, rather than page number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants