mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Fixed some tests.
This commit is contained in:
parent
d9b15ddbb9
commit
fbcfc1f2a8
3 changed files with 6 additions and 4 deletions
|
@ -40,7 +40,7 @@ class NamedDBElementRepository extends EntityRepository
|
|||
{
|
||||
$result = [];
|
||||
|
||||
$entities = $this->findAll();
|
||||
$entities = $this->findBy([], ['name' => 'ASC']);
|
||||
foreach ($entities as $entity) {
|
||||
/** @var $entity NamedDBElement */
|
||||
$node = new TreeViewNode($entity->getName(), null, null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue