Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
spaceweather_processing_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattia Mancini
spaceweather_processing_api
Commits
fa58375e
Commit
fa58375e
authored
1 year ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
add sort direction
parent
c8c54f9a
No related branches found
No related tags found
1 merge request
!2
add sort direction
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
spaceweather_processing/app.py
+1
-1
1 addition, 1 deletion
spaceweather_processing/app.py
with
1 addition
and
1 deletion
spaceweather_processing/app.py
+
1
−
1
View file @
fa58375e
...
...
@@ -136,7 +136,7 @@ class DataProductDB:
# if a &sort=<field> url parameter is given then use sort, otherwise omit it (backward compatibility)
if
sort
:
if
sort
[
0
]
==
'
-
'
:
if
sort
.
startswith
(
'
-
'
)
:
direction
=
-
1
sort
=
sort
[
1
:]
else
:
...
...
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