mirror of
https://github.com/directus/directus.git
synced 2026-01-23 23:38:08 -05:00
Add default nested limit
This commit is contained in:
@@ -94,7 +94,7 @@ export default async function runAST(
|
||||
// to the "standard" item limit. Instead of _n_ nested items per parent item, it would mean
|
||||
// that there's _n_ items, which are then divided on the parent items. (no good)
|
||||
if (nestedNode.type === 'o2m') {
|
||||
tempLimit = nestedNode.query.limit;
|
||||
tempLimit = nestedNode.query.limit || 100;
|
||||
nestedNode.query.limit = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user