Skip to content

Commit

Permalink
Update Search.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
dissto committed Jun 25, 2024
1 parent 8c9852a commit 29cb53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Resource/Page/Index/Table/Column/Search.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ it({{ DESCRIPTION }}, function (string $column) {
livewire({{ RESOURCE_LIST_CLASS }})
->searchTable($search instanceof BackedEnum ? $search->value : $search){{ LOAD_TABLE_METHOD_IF_DEFERRED }}
->assertCanSeeTableRecords($records->filter(fn ($record) => data_get($record, $column) == $search));
})->with({{ RESOURCE_TABLE_SEARCHABLE_COLUMNS }}){{ RESOLVED_GROUP_METHOD }};
})->with({{ RESOURCE_TABLE_SEARCHABLE_COLUMNS }}){{ RESOLVED_GROUP_METHOD }};

0 comments on commit 29cb53b

Please sign in to comment.