diff --git a/src/Repository/ElementRepository.php b/src/Repository/ElementRepository.php index 9eb1d49b3bbb7d797a86d416fa477bc340dd8ccf..b848e694090aa91d9a575c76cdcfcf0b586d7728 100755 --- a/src/Repository/ElementRepository.php +++ b/src/Repository/ElementRepository.php @@ -366,7 +366,7 @@ class ElementRepository extends DocumentRepository "_id" => null, "allkeys" => ['$addToSet' => '$arrayofkeyvalue.k'] ]] - ]); + ], ['cursor' => true]); return $result['result'][0]['allkeys'] ?? []; }