Skip to content

Commit

Permalink
Merge pull request #390 from AdrianHL/bugfix/admin-firstname
Browse files Browse the repository at this point in the history
Admin Filter - First Name bug
  • Loading branch information
AlirezaAlgo authored Feb 28, 2019
2 parents a2dac06 + a191b98 commit b6d6794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function all($entity){

$this->filter = \DataFilter::source(Admin::with('roles'));
$this->filter->add('id', 'ID', 'text');
$this->filter->add('firstname', 'First name', 'text');
$this->filter->add('first_name', 'First name', 'text');
$this->filter->add('last_name', 'Last Name', 'text');
$this->filter->add('email', 'Email', 'text');
$this->filter->submit('search');
Expand Down

0 comments on commit b6d6794

Please sign in to comment.