diff --git a/src/app/entity/models/EntityModelAbstract.php b/src/app/entity/models/EntityModelAbstract.php
index 5f97319c3341f76e834be6636874e7903662d9db..5cd68ed1a1e17c2bb1d35aca26bba26b30f6e95a 100755
--- a/src/app/entity/models/EntityModelAbstract.php
+++ b/src/app/entity/models/EntityModelAbstract.php
@@ -330,9 +330,10 @@ abstract class EntityModelAbstract
             $entitiesAllowed = EntityModel::getAllEntitiesByUserId(['userId' => $aArgs['userId']]);
         }
 
-        $allEntities = EntityModel::get(['select' => ['entity_id', 'entity_label', 'parent_entity_id'], 'where' => ['enabled = ?'], 'data' => ['Y'], 'orderBy' => ['parent_entity_id']]);
+        $allEntities = EntityModel::get(['select' => ['id', 'entity_id', 'entity_label', 'parent_entity_id'], 'where' => ['enabled = ?'], 'data' => ['Y'], 'orderBy' => ['parent_entity_id']]);
 
         foreach ($allEntities as $key => $value) {
+            $allEntities[$key]['serialId'] = $value['id'];
             $allEntities[$key]['id'] = $value['entity_id'];
             if (empty($value['parent_entity_id'])) {
                 $allEntities[$key]['parent'] = '#';