Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thoresuenert authored Jan 22, 2020
1 parent e66d89d commit 2a7fe50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ By default the filter will display the name of the `fieldAttribute` you passed o

```php
// app/Nova/User.php

use Suenerds\NovaSearchableBelongsToFilter\NovaSearchableBelongsToFilter

public function filters(Request $request)
{
return [
Expand All @@ -30,4 +33,4 @@ public function filters(Request $request)
->filterBy('department_id')
];
}
```
```

0 comments on commit 2a7fe50

Please sign in to comment.