- Big WIP on forms component

This commit is contained in:
mcndave committed 2025-12-01 15:46:02 +00:00
1 parent c0b0681fee
commit 3d50cfaccb
14 files changed
+114 -20

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ trait LeanApiTrait
}
#[Ignore]
protected function searchEntityFromRequest(ServerRequestInterface $request, string $entityType, ? string $resultKey = null) : ServerRequestInterface
protected function searchEntityFromRequest(ServerRequestInterface $request, string $entityType, ? string $resultKey = null) : ServerRequestInterface
{
$search = $entityType::searchRequest()->fromRequest($request);
$entity = $entityType::repository()->filterServerRequest($search)->loadOne() ?? false;