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
6111c77a
Unverified
Commit
6111c77a
authored
Aug 11, 2022
by
GuilhermeGz
Committed by
GitHub
Aug 11, 2022
Browse files
Merge pull request #528 from antonioDurval/master
Remoção do paginate na parte de visualizar projetos (PERFIL ADMIN)
parents
4b39cf84
d6b1be18
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
6111c77a
...
...
@@ -82,10 +82,7 @@ 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 @
6111c77a
...
...
@@ -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