Skip to content

Commit

Permalink
Merge pull request #19 from mbardelmeijer/patch-1
Browse files Browse the repository at this point in the history
Remove defaultOrderField from Orderable
  • Loading branch information
michielkempen authored Nov 29, 2019
2 parents 3627429 + f4b8284 commit 9777b79
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Orderable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@

trait Orderable
{
/**
* The user-defined OrderFieldAttribute
*
* @var string
*/
public static $defaultOrderField;

/**
* The first & last resourceId of the excecuted indexQuery
*
Expand Down Expand Up @@ -130,4 +123,4 @@ public static function modelOrderByFieldAttribute($model)

return $model->sortable['order_column_name'] ?? null;
}
}
}

0 comments on commit 9777b79

Please sign in to comment.