Skip to content

Add sort_by_date_modified parameter to all search endpoints#728

Open
Srijatalamarla wants to merge 2 commits intoaiondemand:developfrom
Srijatalamarla:feat/search-sort-by-date
Open

Add sort_by_date_modified parameter to all search endpoints#728
Srijatalamarla wants to merge 2 commits intoaiondemand:developfrom
Srijatalamarla:feat/search-sort-by-date

Conversation

@Srijatalamarla
Copy link

Change(s)

Change Type: Added

Change Category: Interface

Changelog Entry: Added sort_by_date_modified boolean parameter to all search endpoints.
When set to true, results are sorted by date modified descending ( newest first ). By default, results are sorted based on relevance score.

Checklist

  • Tests have been added or updated to reflect the changes, or their absence is explicitly explained.
  • Documentation has been added or updated to reflect the changes, or their absence is explicitly explained.
  • A self-review has been conducted checking:
    • No unintended changes have been committed.
    • The changes in isolation seem reasonable.
    • Anything that may be odd or unintuitive is provided with a GitHub comment explaining it (but consider if this should not be a code comment or in the documentation instead).
  • All CI checks pass before pinging a reviewer, or provide an explanation if they do not.
  • The PR title matches the changelog entry's one-line description.

Related Issues

Closes #521

@Srijatalamarla Srijatalamarla changed the title Feat/search sort by date Add sort_by_date_modified parameter to all search endpoints Mar 12, 2026
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.

Add order by date to search endpoints

1 participant