mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Filter out archived projects from ProjectProfileView
Summary: This just hides them, should still show on "View All". Test Plan: Hide a Milestone, no longer see it on home. Click "View All", see all Milestones. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15264
This commit is contained in:
parent
de4167d683
commit
1e3a5bd2c0
1 changed files with 8 additions and 0 deletions
|
@ -201,6 +201,10 @@ final class PhabricatorProjectProfileController
|
|||
->withParentProjectPHIDs(array($project->getPHID()))
|
||||
->needImages(true)
|
||||
->withIsMilestone(true)
|
||||
->withStatuses(
|
||||
array(
|
||||
PhabricatorProjectStatus::STATUS_ACTIVE,
|
||||
))
|
||||
->setOrder('newest')
|
||||
->execute();
|
||||
if (!$milestones) {
|
||||
|
@ -244,6 +248,10 @@ final class PhabricatorProjectProfileController
|
|||
->setViewer($viewer)
|
||||
->withParentProjectPHIDs(array($project->getPHID()))
|
||||
->needImages(true)
|
||||
->withStatuses(
|
||||
array(
|
||||
PhabricatorProjectStatus::STATUS_ACTIVE,
|
||||
))
|
||||
->withIsMilestone(false)
|
||||
->setLimit($limit)
|
||||
->execute();
|
||||
|
|
Loading…
Reference in a new issue