Fixes T7392. I kind of stink at SQL so my approach here was to "start over" conceptually and this way makes the most sense to me - we basically do one join on the dependency table and then a second join back from the dependency table to the main task table. In the where clause we filter the resulting rows, first checking the data from dependency join for existence as appropros and then checking the second join for main task table for the proper "open" task values.
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T7392: Custom filter condition "Show Tasks Not Blocked By Other Tasks" does not show tasks whose blocked tasks are all completed
- Commits
- Restricted Diffusion Commit
rP05510aa41f44: Maniphest - fix blocking / blocked task queries
made a task X be blocked by task Y. closed task y. search for "not blocked" tasks and saw task X.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable