order favorites desc

This commit is contained in:
Flummi 2022-05-06 10:47:09 +02:00
parent d4bea12af5
commit 51a524a564

View File

@ -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 {