Skip to content

III-6791 - Add default sorting#811

Merged
brampauwelyn merged 3 commits intomainfrom
feature/III-6791
Sep 15, 2025
Merged

III-6791 - Add default sorting#811
brampauwelyn merged 3 commits intomainfrom
feature/III-6791

Conversation

@brampauwelyn
Copy link
Contributor

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds default sorting to the offers API by sorting results by creation date in descending order. This ensures that newly created offers appear first in the results.

  • Added sort[created]: desc parameter to the offers API request
  • Updated corresponding test expectations to include the new sorting parameter

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
src/core/udb-api.service.js Added default sorting parameter to findOffers method
src/core/udb-api.service.spec.js Updated test expectations to include the new sorting parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@brampauwelyn brampauwelyn merged commit c8d3c47 into main Sep 15, 2025
1 check passed
@brampauwelyn brampauwelyn deleted the feature/III-6791 branch September 15, 2025 11:38
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.

2 participants