Page MenuHomePhabricator

Allow "PhutilClassMapQuery" to sort with a PhutilSortVector sort function
ClosedPublic

Authored by epriestley on Jun 22 2019, 4:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 31, 1:01 PM
Unknown Object (File)
Thu, Jan 30, 5:18 PM
Unknown Object (File)
Mon, Jan 27, 2:02 PM
Unknown Object (File)
Mon, Jan 13, 1:48 PM
Unknown Object (File)
Jan 6 2025, 11:14 AM
Unknown Object (File)
Dec 30 2024, 3:29 AM
Unknown Object (File)
Dec 19 2024, 12:20 AM
Unknown Object (File)
Dec 14 2024, 4:20 PM
Subscribers
None

Details

Summary

Ref T13303. I didn't find any explicit "msortv()" issues in instances/, but did catch one during deploy where we run a ClassMapQuery with a vector-returning sort method.

Test if the sort method returns vectors and "msortv()" it if it does.

Test Plan

Will cherry-pick and redeploy, just throwing this up for reference/context.

Diff Detail

Repository
rPHU libphutil
Branch
msortvx
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23031
Build 31618: Run Core Tests
Build 31617: arc lint + arc unit