Merge branch 'develop' of github.com:laravel/laravel into develop
This commit is contained in:
@@ -418,7 +418,7 @@ class Query {
|
||||
* @param string $direction
|
||||
* @return Query
|
||||
*/
|
||||
public function order_by($column, $direction)
|
||||
public function order_by($column, $direction = 'asc')
|
||||
{
|
||||
$this->orderings[] = $this->wrap($column).' '.strtoupper($direction);
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user