@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Namespace `dateCreated` in Maniphest query construction

Summary: Fixes T5661. We may now pick up a conflicting `dateCreated` field from an edge table join.

Test Plan: Ran a project + dateCreated filtering query, no longer got an exception.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5661

Differential Revision: https://secure.phabricator.com/D9997

+4 -4
+4 -4
src/applications/maniphest/query/ManiphestTaskQuery.php
··· 206 206 if ($this->dateCreatedAfter) { 207 207 $where[] = qsprintf( 208 208 $conn, 209 - 'dateCreated >= %d', 209 + 'task.dateCreated >= %d', 210 210 $this->dateCreatedAfter); 211 211 } 212 212 213 213 if ($this->dateCreatedBefore) { 214 214 $where[] = qsprintf( 215 215 $conn, 216 - 'dateCreated <= %d', 216 + 'task.dateCreated <= %d', 217 217 $this->dateCreatedBefore); 218 218 } 219 219 220 220 if ($this->dateModifiedAfter) { 221 221 $where[] = qsprintf( 222 222 $conn, 223 - 'dateModified >= %d', 223 + 'task.dateModified >= %d', 224 224 $this->dateModifiedAfter); 225 225 } 226 226 227 227 if ($this->dateModifiedBefore) { 228 228 $where[] = qsprintf( 229 229 $conn, 230 - 'dateModified <= %d', 230 + 'task.dateModified <= %d', 231 231 $this->dateModifiedBefore); 232 232 } 233 233