fix: Relationship hasMany and filterOptions fails above 10 items (#2891)

This commit is contained in:
Dan Ribbens
2023-06-22 14:28:03 -04:00
committed by GitHub
parent b83d788d3c
commit 8128de64df

View File

@@ -234,6 +234,7 @@ const validateFilterOptions: Validate = async (value, { t, filterOptions, id, us
const result = await payload.find({
collection,
depth: 0,
limit: 0,
where: {
and: [
{ id: { in: valueIDs } },