Skip to content

Commit 629243a

Browse files
committed
wip
1 parent fceb1ec commit 629243a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

next/app/(main)/beitraege/getPosts.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ export const getPosts = async (filters, offset, limit) => {
6868
},
6969
},
7070
},
71+
{
72+
authors: {
73+
directus_users_id: {
74+
last_name: {
75+
_icontains: filters.searchTerm
76+
? filters.searchTerm
77+
: undefined,
78+
},
79+
},
80+
},
81+
},
7182
{
7283
program: {
7384
name: {

0 commit comments

Comments
 (0)