From 09be0394cdde913b18ba8acfdd37ee2d35539727 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Jul 2022 06:07:51 +0200 Subject: [PATCH] fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2244925?context=8#context --- files/routes/users.py | 4 +++- files/templates/userpage_comments.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/files/routes/users.py b/files/routes/users.py index c7de44fbb..17aaba9ad 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -1182,6 +1182,7 @@ def saved_posts(v, username): ids=ids[:25] listing = get_posts(ids, v=v) + listing.reverse() if request.headers.get("Authorization"): return {"data": [x.json for x in listing]} return render_template("userpage.html", @@ -1206,7 +1207,7 @@ def saved_comments(v, username): ids=ids[:25] listing = get_comments(ids, v=v) - + listing.reverse() if request.headers.get("Authorization"): return {"data": [x.json for x in listing]} return render_template("userpage_comments.html", @@ -1230,6 +1231,7 @@ def subscribed_posts(v, username): ids=ids[:25] listing = get_posts(ids, v=v) + listing.reverse() if request.headers.get("Authorization"): return {"data": [x.json for x in listing]} return render_template("userpage.html", diff --git a/files/templates/userpage_comments.html b/files/templates/userpage_comments.html index aa1e0c61d..e41dd748c 100644 --- a/files/templates/userpage_comments.html +++ b/files/templates/userpage_comments.html @@ -20,7 +20,7 @@ Saved Comments ({{u.saved_comment_count}}) {% endif %}