[
https://issues.apache.org/jira/browse/ATLAS-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054809#comment-18054809
]
ASF subversion and git services commented on ATLAS-5196:
--------------------------------------------------------
Commit 6df7b53dc6aecd582d20985d7cc105c1520d8fef in atlas's branch
refs/heads/atlas-2.5 from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=6df7b53dc ]
ATLAS-5196: React UI Table tab: Force ascending sort for relationship 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 fb36b03fc7723620f6a9eb7cf8fa732baa25963c)
> React UI Table tab: Force ascending sort for relationship results
> -----------------------------------------------------------------
>
> Key: ATLAS-5196
> URL: https://issues.apache.org/jira/browse/ATLAS-5196
> Project: Atlas
> Issue Type: Sub-task
> Components: atlas-webui
> Affects Versions: 3.0.0
> Reporter: Prasad P. Pawar
> Assignee: Prasad P. Pawar
> Priority: Major
> Labels: atlas-react
> Attachments: Screenshot from 2026-01-28 16-08-46.png, Screenshot from
> 2026-01-28 16-10-41.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.
> h3. Scope
> React UI only. Classic UI already uses sortBy=name and sortOrder=ASCENDING.
> h3. Fix Required
> Ensure the relationship search payload always uses:
> * sortBy=name
> * sortOrder=ASCENDING
> and is not overridden by client-side sorting state.
> h3. Files
> * dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx
> h3. Validation
> ** Open React UI → entity detail → Table tab
> ** Confirm relationship API request includes sortOrder=ASCENDING
> ** Results match Classic UI ordering
--
This message was sent by Atlassian Jira
(v8.20.10#820010)