mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 22:15:36 +01:00
Fixed some tests.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user