Maniphest's Advanced Search shows weird and unpredictable paging behavior when searching for tasks and grouping/ordering with non-default values. For the test cases I didn't fill other form fields, however, when testing with a few parameters that would generate a large enough list, the behavior was the same.
Grouping by "None"
- When ordered by "Date Updated (Oldest First)" or "Created (Oldest First)", a list of 100 tasks is returned (https://secure.phabricator.com/maniphest/query/RTzppHYbzX1H/).
- "Next" button on the first page leads us to a list of 99 (https://secure.phabricator.com/maniphest/query/RTzppHYbzX1H/?after=153) tasks that is exactly the same, minus the last task in the list.
- In the second page the "Prev" button (previously unavailable) leads us to a page (https://secure.phabricator.com/maniphest/query/RTzppHYbzX1H/?before=6) of completely different 100 tasks (I assume this is what would be the last page)
- From the 3rd page the "Prev" button leads to the same page with 99 tasks and the first one missing.
Grouping by "Project"
https://secure.phabricator.com/maniphest/query/VsJeQOw9VfgQ/
In this version no paging whatsoever is available so only the first projects (in alphabetical order) are visible. Task counts per project vary based on different ordering settings but I cannot see any pattern to that.
In my much simpler installation everything works fine except ordering by "Created (Oldest First)" and "Date Updated (Oldest First)" - then all of the tasks, except one, of the last project on the first page are repeated in the beginning on the next page.
Grouping by "Status"
Something similar as in grouping by "None".
Grouping by "Assigned"
Hard to say but in my own installation with fewer users "Created (Oldest First)" and "Date Updated (Oldest First)" shows similar behavior to grouping by "None," with the next page having the same tasks as the first one