Browse Source

Fixed issue pointed out by bcondon

Stephen Ficklin 5 years ago
parent
commit
387b275147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal/includes/TripalEntityCollection.inc

+ 1 - 1
tripal/includes/TripalEntityCollection.inc

@@ -527,8 +527,8 @@ class TripalEntityCollection {
     }
     if ($job) {
       $job->setTotalItems($total_entities);
+      $job->setInterval(1);
     }
-    $job->setInterval(1);
 
     // Iterate through the bundles in this collection and get the entities.
     foreach ($this->bundles as $bundle) {