Commit 58b78c4b authored by catch's avatar catch

Issue #2331113 by David_Rothstein: Fixed Node access rebuilds are completely...

Issue #2331113 by David_Rothstein: Fixed Node access rebuilds are completely broken when being rebuilt through a batch process?.
parent 8d590856
......@@ -1302,7 +1302,7 @@ function _node_access_rebuild_batch_operation(&$context) {
$limit = 20;
$nids = \Drupal::entityQuery('node')
->condition('nid', $context['sandbox']['current_node'], '>')
->sort('nid', 'DESC')
->sort('nid', 'ASC')
->range(0, $limit)
->execute();
$nodes = node_load_multiple($nids, TRUE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment