Commit fd350fb4 authored by alexpott's avatar alexpott

Issue #2443635 by mradcliffe, grom358: PostgreSQL: Fix config\Tests\ConfigEntityListTest

parent dc1bc4a6
...@@ -86,14 +86,16 @@ public function load() { ...@@ -86,14 +86,16 @@ public function load() {
} }
/** /**
* Loads entity IDs using a pager. * Loads entity IDs using a pager sorted by the entity id.
* *
* @return array * @return array
* An array of entity IDs. * An array of entity IDs.
*/ */
protected function getEntityIds() { protected function getEntityIds() {
$query = $this->getStorage()->getQuery(); $query = $this->getStorage()->getQuery();
$keys = $this->entityType->getKeys();
return $query return $query
->sort($keys['id'])
->pager($this->limit) ->pager($this->limit)
->execute(); ->execute();
} }
......
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