Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GéoContrib
Géocontrib Frontend
Merge requests
!634
REDMINE_ISSUE-17338
| Page mon compte - Activer le parcours des signalements
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
REDMINE_ISSUE-17338
| Page mon compte - Activer le parcours des signalements
redmine-issues/17338
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Timothee P
requested to merge
redmine-issues/17338
into
develop
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
bb4287b7
1 commit,
1 year ago
1 file
+
12
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/components/Feature/FeatureFetchOffsetRoute.vue
+
12
−
8
Options
<
template
>
<router-link
:is=
"position >= 0 ? 'router-link' : 'span'"
:is=
"
query &&
position >= 0 ? 'router-link' : 'span'"
:to=
"
{
name: 'details-signalement-filtre',
params: { slug },
@@ -47,14 +47,18 @@ export default {
'
project
'
]),
query
()
{
const
searchParams
=
{
ordering
:
this
.
ordering
};
if
(
this
.
filter
===
'
feature_type_slug
'
)
{
// when feature_type is the default filter of the project,
searchParams
[
'
feature_type_slug
'
]
=
this
.
properties
.
feature_type
.
slug
;
// get its slug for the current feature
}
if
(
this
.
position
>=
0
)
{
searchParams
[
'
offset
'
]
=
this
.
position
;
// get its slug for the current feature
if
(
this
.
ordering
)
{
const
searchParams
=
{
ordering
:
this
.
ordering
};
if
(
this
.
filter
===
'
feature_type_slug
'
)
{
// when feature_type is the default filter of the project,
searchParams
[
'
feature_type_slug
'
]
=
this
.
properties
.
feature_type
.
slug
;
// get its slug for the current feature
}
if
(
this
.
position
>=
0
)
{
searchParams
[
'
offset
'
]
=
this
.
position
;
// get its slug for the current feature
}
return
searchParams
;
}
return
searchParams
;
return
null
;
},
},
Loading