1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-17 11:00:58 +01:00
phorge-phorge/src/infrastructure/query/policy
epriestley 256fcf3721 Make it easier to construct multi-column paging clauses from Query classes
Summary:
We currently have two giant messes for paging across multiple columns (usually because one column is not unique), and I'm about to add a third for Maniphest.

Provide a more structured way to build these `A > a OR (A = a AND B > b)` clauses.

Test Plan: Set page size to `2` for Differential and Diffusion and paged forward and backward with a bunch of different orders set. Pages worked as expected.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2625

Differential Revision: https://secure.phabricator.com/D6971
2013-09-13 11:49:41 -07:00
..
PhabricatorCursorPagedPolicyAwareQuery.php Make it easier to construct multi-column paging clauses from Query classes 2013-09-13 11:49:41 -07:00
PhabricatorPolicyAwareQuery.php Policy - introduce parentQuery and pass around policy configuration from parent to child 2013-09-11 12:19:34 -07:00