mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-17 02:50:54 +01:00
a43473c4b6
Summary: Ref T7803. Queries currently have a single `getPagingColumn()`, which is oversimplified and insufficient to describe many ordering operations. Frequently, orders must span multiple columns. Move toward an "order vector", which is a list of orderable values like "name, id". These map directly to columns, and are sufficient to actually describe orders. The more modern Query classes (Maniphest, Repository) essentially do this manually anyway. Test Plan: - Added and executed unit tests. - Browsed around, verified the correct ORDER BY clauses were generated. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7803 Differential Revision: https://secure.phabricator.com/D12352 |
||
---|---|---|
.. | ||
order | ||
policy | ||
PhabricatorEmptyQueryException.php | ||
PhabricatorOffsetPagedQuery.php | ||
PhabricatorQuery.php |