Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
backoffice_server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
web-et-numerique
Factory
LLLE_Project
backoffice_server
Commits
4f1c3fa4
Commit
4f1c3fa4
authored
4 months ago
by
Pierre Ecarlat
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into 'master'
feat: Allow to download all consents See merge request
!120
parents
307f878b
c5704c72
Branches
Branches containing commit
No related tags found
1 merge request
!120
feat: Allow to download all consents
Pipeline
#121959
passed
4 months ago
Stage: import-convert-assets
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/common/common.go
+0
-6
0 additions, 6 deletions
internal/common/common.go
with
0 additions
and
6 deletions
internal/common/common.go
+
0
−
6
View file @
4f1c3fa4
...
@@ -203,12 +203,6 @@ func PageLimitFromRequest(r *http.Request) (page int, limit int, err error) {
...
@@ -203,12 +203,6 @@ func PageLimitFromRequest(r *http.Request) (page int, limit int, err error) {
if
page
<
0
{
if
page
<
0
{
page
=
0
page
=
0
}
}
switch
{
case
limit
>
100
:
limit
=
100
case
limit
<
10
:
limit
=
10
}
return
page
,
limit
,
nil
return
page
,
limit
,
nil
}
}
...
...
This diff is collapsed.
Click to expand it.
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