From 51a524a5646c9cbe9eb956c9cd8ff80f7d9a4c00 Mon Sep 17 00:00:00 2001 From: Flummi Date: Fri, 6 May 2022 10:47:09 +0200 Subject: [PATCH] order favorites desc --- src/inc/routeinc/f0cklib.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inc/routeinc/f0cklib.mjs b/src/inc/routeinc/f0cklib.mjs index 39306c9..c7270a1 100644 --- a/src/inc/routeinc/f0cklib.mjs +++ b/src/inc/routeinc/f0cklib.mjs @@ -227,6 +227,7 @@ export default { ? db`group by st.tag, st.item_id, "items".id` : db`group by "items".id, "favorites".user_id, "favorites".item_id, "user".id` } + order by "items".id desc `; } else {