Skip to content

Commit

Permalink
Merge pull request #3 from darmen/patch-1
Browse files Browse the repository at this point in the history
Instructions fix.
  • Loading branch information
michielkempen authored Apr 22, 2019
2 parents e85dfd7 + b22e034 commit 7cc1f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ composer require michielkempen/nova-order-field

1. Follow the [usage instructions](https://github.com/spatie/eloquent-sortable#usage) on the eloquent-sortable repository to make your model sortable.
2. Add the `MichielKempen\NovaOrderField\Orderable` trait to your Nova Resource.
3. Add a public static property called `$defaultSortField` to your resource, containing your order column.
3. Add a public static property called `$defaultOrderField` to your resource, containing your order column.
4. Add the `OrderField` to your Nova Resource `fields` method.

### Example
Expand Down

0 comments on commit 7cc1f88

Please sign in to comment.