Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
9f0c5fc0
Commit
9f0c5fc0
authored
Aug 11, 2022
by
unknown
Browse files
Remoção do paginate no Visualizar Projetos perfil ADMIN
parent
dc19a1e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
9f0c5fc0
...
...
@@ -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
();
...
...
resources/views/administrador/analisar.blade.php
View file @
9f0c5fc0
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment