mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Merge pull request #3173 from patvong/patvong/no-limit-to-relationnal-fields
Fetching the relational fields were incorrectly bounded to a maximum of 100 items.
This commit is contained in:
@@ -93,7 +93,7 @@ export default async function runAST(
|
||||
// all nested items for all parent items at once. Because of this, we can't limit that query
|
||||
// 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' && typeof nestedNode.query.limit === 'number') {
|
||||
if (nestedNode.type === 'o2m') {
|
||||
tempLimit = nestedNode.query.limit;
|
||||
nestedNode.query.limit = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user