Skip to content

Commit 6c3b3dc

Browse files
committed
Revert change that breaks tests for strange reasons
1 parent 4cb4874 commit 6c3b3dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Adapter/ArrayAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function processRow(DataTableState $state, array $result, array $map,
103103
foreach ($state->getDataTable()->getColumns() as $column) {
104104
$value = (!empty($propertyPath = $map[$column->getName()]) && $this->accessor->isReadable($result, $propertyPath)) ? $this->accessor->getValue($result, $propertyPath) : null;
105105
$value = $column->transform($value, $result);
106-
if (!$match && $column->isGlobalSearchable()) {
106+
if (!$match) {
107107
$match = (false !== mb_stripos($value, $search));
108108
}
109109
$row[$column->getName()] = $value;

tests/Fixtures/AppBundle/DataTable/Type/RegularPersonTableType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
class RegularPersonTableType implements DataTableTypeInterface
2727
{
28-
public function configure(DataTable $dataTable, array $optionss): void
28+
public function configure(DataTable $dataTable, array $options): void
2929
{
3030
$dataTable
3131
->add('firstName', TextColumn::class)

0 commit comments

Comments
 (0)