-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
saber-plugin-query-posts: Pagination 'next' and 'prev' links seems to be incorrect #559
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
I think it's showing the latest posts first, therefore
Therefore it's a question of semantics and not really a bug. You could rename the |
Maybe we should reverse that, it seems everyone else is using next for older stuff 😅 |
@andreasvirkus Okay that make sense, yes you're right, I am using that for workaround now. Thanks! |
@egoist would you want to switch the wording? Should we keep this backwards compatible? Or is it a suitable breaking change for v1? |
Bug report
Steps to reproduce
Fresh install Saber, install and followed saber-plugin-query-posts readme to make a blog post with pagination.
What is expected?
On the first paginated page,
hasNext
should betrue
,hasPrev
should befalse
, same fornextLink
andprevLink
What is actually happening?
hasNext
andhasPrev
seems to be reversedFirst page
Second page
Other relevant information
saber -v
: latestAwesome Saber! ⚡
The text was updated successfully, but these errors were encountered: