Page MenuHomePhabricator

Make "Order By" field render correctly when showing a SavedQuery with an order alias
ClosedPublic

Authored by epriestley on Jun 9 2015, 8:46 PM.
Tags
None
Referenced Files
F15400425: D13227.id31971.diff
Mon, Mar 17, 11:34 AM
F15397470: D13227.diff
Sun, Mar 16, 8:25 PM
Unknown Object (File)
Feb 11 2025, 9:27 PM
Unknown Object (File)
Feb 3 2025, 10:10 AM
Unknown Object (File)
Jan 30 2025, 12:14 PM
Unknown Object (File)
Jan 29 2025, 7:38 PM
Unknown Object (File)
Jan 3 2025, 2:28 AM
Unknown Object (File)
Jan 2 2025, 1:28 PM
Subscribers

Details

Summary

If you have a saved query with an order alias, we currently apply the order correctly but don't show the right value in the UI.

Map any saved value to the canoncial value when rendering the control.

Test Plan

Added some var_dump() and verified order key was getting mapped forward correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make "Order By" field render correctly when showing a SavedQuery with an order alias.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 9 2015, 8:48 PM
This revision was automatically updated to reflect the committed changes.