Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14052757
D15335.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15335.diff
View Options
diff --git a/src/applications/phid/view/PHUIHandleTagListView.php b/src/applications/phid/view/PHUIHandleTagListView.php
--- a/src/applications/phid/view/PHUIHandleTagListView.php
+++ b/src/applications/phid/view/PHUIHandleTagListView.php
@@ -52,13 +52,6 @@
protected function getTagContent() {
$handles = $this->handles;
- // Remove any archived projects from the list.
- foreach ($handles as $key => $handle) {
- if ($handle->getStatus() == PhabricatorObjectHandle::STATUS_CLOSED) {
- unset($handles[$key]);
- }
- }
-
// If the list is empty, we may render a "No Projects" tag.
if (!$handles) {
if (strlen($this->noDataString)) {
diff --git a/src/applications/project/view/ProjectBoardTaskCard.php b/src/applications/project/view/ProjectBoardTaskCard.php
--- a/src/applications/project/view/ProjectBoardTaskCard.php
+++ b/src/applications/project/view/ProjectBoardTaskCard.php
@@ -116,6 +116,16 @@
}
$project_handles = $this->getProjectHandles();
+
+ // Remove any archived projects from the list.
+ if ($project_handles) {
+ foreach ($project_handles as $key => $handle) {
+ if ($handle->getStatus() == PhabricatorObjectHandle::STATUS_CLOSED) {
+ unset($project_handles[$key]);
+ }
+ }
+ }
+
if ($project_handles) {
$tag_list = id(new PHUIHandleTagListView())
->setSlim(true)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 10:39 AM (2 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6730966
Default Alt Text
D15335.diff (1 KB)
Attached To
Mode
D15335: Only hide archived project tags on workboard cards
Attached
Detach File
Event Timeline
Log In to Comment