mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
field loaders in the end
This commit is contained in:
@@ -109,7 +109,7 @@ class ListLoadProcessor
|
||||
$additionalList = $this->metadata
|
||||
->get(['recordDefs', $entityType, 'listLoaderClassNameList']) ?? [];
|
||||
|
||||
$list = array_merge($entityLevelList, $list, $additionalList);
|
||||
$list = array_merge($list, $additionalList, $entityLevelList);
|
||||
|
||||
return array_values(array_unique($list));
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ class ReadLoadProcessor
|
||||
->get(['recordDefs', $entityType, 'readLoaderClassNameList']) ?? [];
|
||||
|
||||
/** @var class-string<Loader<Entity>>[] $list */
|
||||
$list = array_merge($entityLevelList, $list, $additionalList);
|
||||
$list = array_merge($list, $additionalList, $entityLevelList);
|
||||
|
||||
return array_values(array_unique($list));
|
||||
}
|
||||
|
||||
@@ -1059,7 +1059,7 @@
|
||||
},
|
||||
"loaderClassName": {
|
||||
"type": "string",
|
||||
"description": "Loader. Must implement Espo\\Core\\FieldProcessing\\Loader. As of v9.1."
|
||||
"description": "Loader. Must implement Espo\\Core\\FieldProcessing\\Loader. Field loading order is not guaranteed. As of v9.1."
|
||||
},
|
||||
"duplicateIgnore": {
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user