fix: Searching users in admin page not working (#18140)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2024-12-12 19:13:00 +00:00
1 parent c8661563c8
commit 6463983d55
1 file changed
-2
@@ -46,8 +46,6 @@ const listPaginatedHandler = async ({ input }: GetOptions) => {
take: limit + 1, // We take +1 as itll be used for the next cursor
where: {
...searchFilters,
// To bypass the excludeLockedUsersExtension
OR: [{ locked: false }, { locked: true }],
},
orderBy: {
id: "asc",