order favorites desc
This commit is contained in:
parent
d4bea12af5
commit
51a524a564
|
@ -227,6 +227,7 @@ export default {
|
||||||
? db`group by st.tag, st.item_id, "items".id`
|
? db`group by st.tag, st.item_id, "items".id`
|
||||||
: db`group by "items".id, "favorites".user_id, "favorites".item_id, "user".id`
|
: db`group by "items".id, "favorites".user_id, "favorites".item_id, "user".id`
|
||||||
}
|
}
|
||||||
|
order by "items".id desc
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user