mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 02:59:26 +01:00
Keep sort on user page
This commit is contained in:
parent
6a203f6192
commit
e4c54beaf8
@ -144,7 +144,7 @@ html
|
|||||||
if data.before || data.after
|
if data.before || data.after
|
||||||
p view more:
|
p view more:
|
||||||
if data.before && !data.user_front
|
if data.before && !data.user_front
|
||||||
a(href="/u/" + data.username + data.post_type + "?before=" + data.before + "") ‹ prev
|
a(href="/u/" + data.username + data.post_type + (sortby === "new" ? "?" : "?sort=" + sortby + "&") + (!past ? "" : "t=" + past + "&") + "before=" + data.before + "") ‹ prev
|
||||||
if data.after
|
if data.after
|
||||||
a(href="/u/" + data.username + data.post_type + "?after=" + data.after + "") next ›
|
a(href="/u/" + data.username + data.post_type + (sortby === "new" ? "?" : "?sort=" + sortby + "&") + (!past ? "" : "t=" + past + "&") + "after=" + data.after + "") next ›
|
||||||
include includes/footer.pug
|
include includes/footer.pug
|
||||||
|
Loading…
Reference in New Issue
Block a user