Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mark-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
mark-web
Commits
ba5b6796
Commit
ba5b6796
authored
3 years ago
by
a.croix
Browse files
Options
Downloads
Patches
Plain Diff
Correction in displayed order in pagination
parent
90319162
No related branches found
No related tags found
No related merge requests found
Pipeline
#6777
passed
3 years ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/Http/Controllers/WowaController.php
+2
-2
2 additions, 2 deletions
app/Http/Controllers/WowaController.php
resources/views/wowa/index.blade.php
+1
-1
1 addition, 1 deletion
resources/views/wowa/index.blade.php
with
3 additions
and
3 deletions
app/Http/Controllers/WowaController.php
+
2
−
2
View file @
ba5b6796
...
...
@@ -9,7 +9,7 @@ use Illuminate\Http\Request;
class
WowaController
extends
Controller
{
const
ITEM
_BY
_PAGE
=
25
;
const
ITEM
S_PER
_PAGE
=
25
;
public
function
__construct
()
{
// Uncomment to require authentication
...
...
@@ -40,7 +40,7 @@ class WowaController extends Controller
*/
public
function
index
()
{
return
view
(
"wowa.index"
,
[
"wowas"
=>
Wowa
::
paginate
(
self
::
ITEM
_BY
_PAGE
)]);
return
view
(
"wowa.index"
,
[
"wowas"
=>
Wowa
::
orderBy
(
'id'
,
'desc'
)
->
paginate
(
self
::
ITEM
S_PER
_PAGE
)]);
}
/**
...
...
This diff is collapsed.
Click to expand it.
resources/views/wowa/index.blade.php
+
1
−
1
View file @
ba5b6796
...
...
@@ -20,7 +20,7 @@
<
th
>
Progression
(
%
)
</
th
>
<
th
></
th
>
</
tr
>
@
foreach
(
$wowas
->
reverse
()
as
$wowa
)
@
foreach
(
$wowas
as
$wowa
)
<
tr
>
<
td
>
{{
$wowa
->
id
}}
</
td
>
<
td
>
{{
$wowa
->
user_id
}}
</
td
>
...
...
This diff is collapsed.
Click to expand it.
a.croix
@a.croix
·
3 years ago
Author
Maintainer
Fix
#33 (closed)
Fix #33
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment