From 39a85686637c03737e7de0a3972a00ad8949d21f Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 8 Nov 2025 18:12:13 +0100 Subject: [PATCH] Fix orderBy that must be filtered out --- backend/api/src/send-search-notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/src/send-search-notifications.ts b/backend/api/src/send-search-notifications.ts index 9d8a0014..b47ce073 100644 --- a/backend/api/src/send-search-notifications.ts +++ b/backend/api/src/send-search-notifications.ts @@ -53,7 +53,7 @@ export const sendSearchNotifications = async () => { for (const row of searches) { if (typeof row.search_filters !== 'object') continue; - const { _orderBy, ...filters } = (row.search_filters ?? {}) as Record + const { orderBy: _, ...filters } = (row.search_filters ?? {}) as Record const props = { ...filters, skipId: row.creator_id,