Homec4science

Allow custom fields to be ordered ascending or descending

Authored by epriestley <git@epriestley.com> on Dec 16 2015, 21:15.

Description

Allow custom fields to be ordered ascending or descending

Summary:
Fixes T6864. This creates a sort of busy menu but I think that's proably fine -- users are opting into activating these fields for search anyway.

In the future, we could refine this as, e.g.:

  • don't show these options in the dropdown;
  • do show them on some new "http prefilling" sort of page;
  • then you access them as an advanced user with ?order=secret-magic.

But I'm not going to bother for now.

Test Plan: Ordered by an int field, then reversed the order.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T6864

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

Details

Committed
epriestley <git@epriestley.com>Dec 16 2015, 21:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPH36bfff389822: Give PhameBlog an EditEngine
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHa5d23c9f3e88: Allow custom fields to be ordered ascending or descending (authored by epriestley <git@epriestley.com>).Dec 16 2015, 21:59