Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15398204
D11885.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
666 B
Referenced Files
None
Subscribers
None
D11885.id.diff
View Options
diff --git a/src/applications/flag/query/PhabricatorFlagSearchEngine.php b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
--- a/src/applications/flag/query/PhabricatorFlagSearchEngine.php
+++ b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
@@ -152,6 +152,11 @@
->setHeader($flag->getHandle()->getFullName())
->setHref($flag->getHandle()->getURI());
+ $status_open = PhabricatorObjectHandleStatus::STATUS_OPEN;
+ if ($flag->getHandle()->getStatus() != $status_open) {
+ $item->setDisabled(true);
+ }
+
$item->addAction(
id(new PHUIListItemView())
->setIcon('fa-pencil')
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 17, 11:47 PM (1 w, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7695513
Default Alt Text
D11885.id.diff (666 B)
Attached To
Mode
D11885: Use disabled style when viewing flags if the underlying object is closed
Attached
Detach File
Event Timeline
Log In to Comment