aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/func/posts.py
diff options
context:
space:
mode:
authorrr-2016-10-02 17:04:56 +0200
committerrr-2016-10-02 17:07:08 +0200
commitb0c50310011eaafd55956ddea4b2d37b3556fc7e (patch)
tree24ba5b1f7d092e0e1ec256024ab1105bf4f0dcb0 /server/szurubooru/func/posts.py
parent8f275206af77b4c34f58f2aca9354d36d9cfcd6a (diff)
client+server/posts: reverse next/prev post role
In the post list, when we navigate to the page with ">" button, we navigate to older posts. In the post view, when we navigate to the page with ">" button, we navigate to older posts as well. However, in the post list, the ">" button is called "next page". At the same time, in the post view, the ">" button was called "previous post". Now it's called "next post". The difference isn't visible to normal users nor even API consumers as the "get posts around post X" request isn't documented. The change is motivated not only by consistency, but to also improve compatibility with Vimperator's `[[` and `]]`. Vimperator assumes the word "next" refers to ">" and the word "previous" refers to "<".
Diffstat (limited to 'server/szurubooru/func/posts.py')
0 files changed, 0 insertions, 0 deletions

© 2015 - 2026 Jakob L. Kreuze