t to i
This commit is contained in:
@@ -36,7 +36,7 @@ export const load: PageServerLoad = async ({ url, locals }) => {
|
||||
) m ON TRUE
|
||||
${searchQuery ? sql`WHERE word_similarity(${searchQuery}, i.description) > 0.3` : sql``}
|
||||
GROUP BY i.id
|
||||
ORDER BY t.found_date DESC;
|
||||
ORDER BY i.found_date DESC;
|
||||
`;
|
||||
items.forEach((item) =>
|
||||
item.threads?.forEach((thread) => (thread.createdAt = new Date(thread.createdAt)))
|
||||
|
||||
Reference in New Issue
Block a user