Skip to content

Commit

Permalink
Merge pull request #31 from mkdok/9.x-2.x
Browse files Browse the repository at this point in the history
[DS-650] Drupal 10 entityQuery ->accessCheck(FALSE) needed
  • Loading branch information
podarok authored May 9, 2023
2 parents bcc48e3 + 71e09b2 commit 908bacd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/RepeatController.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ public function getLocationsInfo() {
->getStorage('node')
->getQuery()
->condition('type', ['branch', 'location', 'camp', 'facility'], 'IN')
->accessCheck(FALSE)
->execute();
$nids_chunked = array_chunk($nids, 20, TRUE);
foreach ($nids_chunked as $chunk) {
Expand Down

0 comments on commit 908bacd

Please sign in to comment.