Merge branch 'develop' of github.com:laravel/laravel into develop
This commit is contained in:
commit
19de53ea3c
|
@ -418,7 +418,7 @@ private function dynamic_where($method, $parameters)
|
|||
* @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;
|
||||
|
|
Loading…
Reference in New Issue