From 2a7fe5096c3d9fcd7625dd31b969338700fb8467 Mon Sep 17 00:00:00 2001 From: thoresuenert Date: Wed, 22 Jan 2020 11:11:43 +0100 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a317a3d..009f32f 100644 --- a/README.md +++ b/README.md @@ -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 [ @@ -30,4 +33,4 @@ public function filters(Request $request) ->filterBy('department_id') ]; } -``` \ No newline at end of file +```