Commit 4dcc674c authored by José Fernando Mendes da Costa's avatar José Fernando Mendes da Costa
Browse files

ordena pelo id

parent d54053ec
...@@ -89,7 +89,7 @@ class User extends Authenticatable implements MustVerifyEmail ...@@ -89,7 +89,7 @@ class User extends Authenticatable implements MustVerifyEmail
return $this->hasOne('App\AdministradorResponsavel'); return $this->hasOne('App\AdministradorResponsavel');
} }
public function participantes(){ public function participantes(){
return $this->hasMany('App\Participante'); return $this->hasMany('App\Participante')->orderBy('id', 'asc');
} }
public function avaliadors(){ public function avaliadors(){
return $this->hasOne('App\Avaliador'); return $this->hasOne('App\Avaliador');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment