sadpandajoe commented on code in PR #44858:
URL: https://github.com/apache/superset/pull/44858#discussion_r4177675300


##########
superset-frontend/src/components/Datasource/components/CollectionTable/index.tsx:
##########
@@ -341,24 +375,38 @@ export default function CRUDCollection({
             return mStr.localeCompare(nStr);
           };
 
+          // Sort the live, edited collection rather than propsCollection, so
+          // an edit that hasn't round-tripped back through onChange yet

Review Comment:
   With a descending sort active, changing pages sorts the already-sorted rows 
and reverses every equal-key group again; with 30 metrics that have blank 
Labels and a page size of 25, page 2 repeats five metrics from page 1 and skips 
the remaining five. Could we keep tie ordering stable when pagination reapplies 
the existing sorter?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to