mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Fix "Recently Closed" column for custom task statuses
Summary: Fixes T5056. Test Plan: Viewed locally, saw numbers. Reviewers: btrahan, shadowhand Reviewed By: shadowhand Subscribers: shadowhand, epriestley Maniphest Tasks: T5056 Differential Revision: https://secure.phabricator.com/D9126
This commit is contained in:
parent
358b59ffa7
commit
e841270677
1 changed files with 2 additions and 1 deletions
|
@ -663,13 +663,14 @@ final class ManiphestReportController extends ManiphestController {
|
|||
$tasks = queryfx_all(
|
||||
$conn_r,
|
||||
'SELECT t.* FROM %T t JOIN %T x ON x.objectPHID = t.phid
|
||||
WHERE t.status != 0
|
||||
WHERE t.status NOT IN (%Ls)
|
||||
AND x.oldValue IN (null, %Ls)
|
||||
AND x.newValue NOT IN (%Ls)
|
||||
AND t.dateModified >= %d
|
||||
AND x.dateCreated >= %d',
|
||||
$table->getTableName(),
|
||||
$xtable->getTableName(),
|
||||
ManiphestTaskStatus::getOpenStatusConstants(),
|
||||
$open_status_list,
|
||||
$open_status_list,
|
||||
$window_epoch,
|
||||
|
|
Loading…
Reference in a new issue