From 629243a5fae87346ab30f5fb3140caab64153ced Mon Sep 17 00:00:00 2001 From: Alexandros Coutsicos Date: Tue, 4 Feb 2025 12:39:52 +0200 Subject: [PATCH] wip --- next/app/(main)/beitraege/getPosts.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/next/app/(main)/beitraege/getPosts.ts b/next/app/(main)/beitraege/getPosts.ts index e633264..59d767a 100644 --- a/next/app/(main)/beitraege/getPosts.ts +++ b/next/app/(main)/beitraege/getPosts.ts @@ -68,6 +68,17 @@ export const getPosts = async (filters, offset, limit) => { }, }, }, + { + authors: { + directus_users_id: { + last_name: { + _icontains: filters.searchTerm + ? filters.searchTerm + : undefined, + }, + }, + }, + }, { program: { name: {