Skip to content

Commit b6d6794

Browse files
authored
Merge pull request #390 from AdrianHL/bugfix/admin-firstname
Admin Filter - First Name bug
2 parents a2dac06 + a191b98 commit b6d6794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/AdminController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function all($entity){
2020

2121
$this->filter = \DataFilter::source(Admin::with('roles'));
2222
$this->filter->add('id', 'ID', 'text');
23-
$this->filter->add('firstname', 'First name', 'text');
23+
$this->filter->add('first_name', 'First name', 'text');
2424
$this->filter->add('last_name', 'Last Name', 'text');
2525
$this->filter->add('email', 'Email', 'text');
2626
$this->filter->submit('search');

0 commit comments

Comments
 (0)