HomePhabricator

Make "Order By" field render correctly when showing a SavedQuery with an…

Description

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

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D13227

Details