Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to master from develop - sort assets by creation time in the version endpoint #599

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

danscales
Copy link
Collaborator

Merge to master from develop in gfw-data-api

The only change is my simple change to sort the assets by creation time in the version endpoint, just like /assets

…assets

We made the asset list in the GET version endpoint more useful recently
by including the asset-id. But that list is not being sorted by creation
time, unlike the list provided by /assets, so the assets are somewhat
randomly ordered.

So, add the change to sort the asset list of the GET version endpoint by
creation time. This ensures that the default asset is always first, etc.
Updating doc based on good comment from Gary.
Sort the assets by creation time in the version endpoint, just like /assets
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.18%. Comparing base (8157344) to head (50c4642).
Report is 2 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #599   +/-   ##
=======================================
  Coverage   81.18%   81.18%           
=======================================
  Files         129      129           
  Lines        5842     5842           
=======================================
  Hits         4743     4743           
  Misses       1099     1099           
Flag Coverage Δ
unittests 81.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danscales danscales merged commit d905df1 into master Oct 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants