Commit 9f0c5fc0 authored by unknown's avatar unknown
Browse files

Remoção do paginate no Visualizar Projetos perfil ADMIN

parent dc19a1e0
......@@ -82,11 +82,8 @@ class AdministradorController extends Controller
->whereIn('status', $status)
->pluck('area_id');
$trabalhos = Trabalho::where('evento_id', $evento->id)
->whereIn('status', $status)
->orderBy('titulo')
->paginate(10);
$trabalhos = $evento->trabalhos->whereNotIn('status', 'rascunho')->sortBy('titulo');
$grandesAreas = GrandeArea::whereIn('id', $aux)->get();
$areas = Area::whereIn('id', $idArea)->get();
......
......@@ -113,18 +113,6 @@
@endforeach
</div>
<div class="row justify-content-center" >
<div class="col-md-11">
<br>
{{ $trabalhos->appends(['evento_id' => $evento->id])->links() }}
</div>
</div>
@endsection
@section('javascript')
......
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