Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Commit 204fe23

Browse files
Add search fields to the ProcessExecution Crud
1 parent 045d702 commit 204fe23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/Crud/ProcessExecutionCrudController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function configureCrud(Crud $crud): Crud
5959
$crud->showEntityActionsInlined();
6060
$crud->setDefaultSort(['startDate' => SortOrder::DESC]);
6161
$crud->setEntityPermission('ROLE_ADMIN');
62-
$crud->setSearchFields(true === $this->indexLogs ? ['logRecords.message'] : null);
62+
$crud->setSearchFields(true === $this->indexLogs ? ['processCode', 'source', 'target', 'logRecords.message'] : ['processCode', 'source', 'target']);
6363

6464
return $crud;
6565
}

0 commit comments

Comments
 (0)