Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18622451
D11949.id28774.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1009 B
Referenced Files
None
Subscribers
None
D11949.id28774.diff
View Options
diff --git a/src/applications/maniphest/query/ManiphestTaskQuery.php b/src/applications/maniphest/query/ManiphestTaskQuery.php
--- a/src/applications/maniphest/query/ManiphestTaskQuery.php
+++ b/src/applications/maniphest/query/ManiphestTaskQuery.php
@@ -588,21 +588,21 @@
if ($this->blockingTasks === true) {
$parts[] = qsprintf(
$conn,
- 'blocking.dst IS NOT NULL');
+ 'blockingtask.status IS NOT NULL');
} else if ($this->blockingTasks === false) {
$parts[] = qsprintf(
$conn,
- 'blocking.dst IS NULL');
+ 'blockingtask.status IS NULL');
}
if ($this->blockedTasks === true) {
$parts[] = qsprintf(
$conn,
- 'blocked.dst IS NOT NULL');
+ 'blockedtask.status IS NOT NULL');
} else if ($this->blockedTasks === false) {
$parts[] = qsprintf(
$conn,
- 'blocked.dst IS NULL');
+ 'blockedtask.status IS NULL');
}
return '('.implode(') OR (', $parts).')';
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sep 16 2025, 11:54 AM (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8830081
Default Alt Text
D11949.id28774.diff (1009 B)
Attached To
Mode
D11949: Correctly detect tasks which are blocked or not
Attached
Detach File
Event Timeline
Log In to Comment