Skip to content

ATLAS-5196: React UI Table tab: Force ascending sort for relationship results#508

Merged
pawarprasad123 merged 2 commits intomasterfrom
ATLAS-5196
Jan 28, 2026
Merged

ATLAS-5196: React UI Table tab: Force ascending sort for relationship results#508
pawarprasad123 merged 2 commits intomasterfrom
ATLAS-5196

Conversation

@pawarprasad123
Copy link
Contributor

What changes were proposed in this pull request?

The React UI Table tab on entity detail pages (e.g., hive_db) sometimes sends sortOrder=DESCENDING, which differs from Classic UI (always ASCENDING). This causes mismatched results and empty tables in some cases.

Scope

React UI only. Classic UI already uses sortBy=name and sortOrder=ASCENDING.

Fix Required

Ensure the relationship search payload always uses:

sortBy=name
sortOrder=ASCENDING
and is not overridden by client-side sorting state.

Files

dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx

Validation

Open React UI → entity detail → Table tab
Confirm relationship API request includes sortOrder=ASCENDING
Results match Classic UI ordering

How was this patch tested?

Manually

@pawarprasad123 pawarprasad123 merged commit fb36b03 into master Jan 28, 2026
2 checks passed
pawarprasad123 added a commit that referenced this pull request Jan 28, 2026
… results (#508)

* ATLAS-5196: React UI Table tab: Force ascending sort for relationship results

* ATLAS-5196: React UI Table tab: Force ascending sort for relationship results
( cherry-picked from fb36b03)
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