Issue #2443635 by mradcliffe, grom358: PostgreSQL: Fix config\Tests\ConfigEntityListTest
parent
dc1bc4a64b
commit
fd350fb401
|
@ -86,14 +86,16 @@ class EntityListBuilder extends EntityHandlerBase implements EntityListBuilderIn
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads entity IDs using a pager.
|
||||
* Loads entity IDs using a pager sorted by the entity id.
|
||||
*
|
||||
* @return array
|
||||
* An array of entity IDs.
|
||||
*/
|
||||
protected function getEntityIds() {
|
||||
$query = $this->getStorage()->getQuery();
|
||||
$keys = $this->entityType->getKeys();
|
||||
return $query
|
||||
->sort($keys['id'])
|
||||
->pager($this->limit)
|
||||
->execute();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue