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