<#7295 [V2] ListRuns fallback to sort by field> Pu...
# flyte-github
a
#7295 [V2] ListRuns fallback to sort by field Pull request opened by machichima Tracking issue Why are the changes needed? Flyteconsole send request with
sort_by
. We should use this if
sort_by_fields
is not set. What changes were proposed in this pull request? Fallback to sort by
sort_by
if
sort_by_fields
is not set. How was this patch tested? Run on devbox and ensure runs are sorted by "created_at" image The flyteconsole will send following request, and we expect runs to be sorted by "created_at" { "request": { "limit": 100, "sortBy": { "key": "created_at" }, "filters": [ { "function": "GREATER_THAN_OR_EQUAL", "field": "created_at", "values": [ "2026-04-21T053132.214Z" ] } ] }, "projectId": { "organization": "localhost", "domain": "development", "name": "flytesnacks" } } Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link flyteorg/flyte