mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix flipped open/closed status for Diviner atoms in search index
Summary: Fixes T12258. I think these constants are just flipped. Test Plan: Kinda winged it. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12258 Differential Revision: https://secure.phabricator.com/D17346
This commit is contained in:
parent
006d74fde2
commit
6f37685a75
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ final class DivinerLiveSymbolFulltextEngine
|
|||
|
||||
$document->addRelationship(
|
||||
$atom->getGraphHash()
|
||||
? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
|
||||
: PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
|
||||
? PhabricatorSearchRelationship::RELATIONSHIP_OPEN
|
||||
: PhabricatorSearchRelationship::RELATIONSHIP_CLOSED,
|
||||
$atom->getBookPHID(),
|
||||
DivinerBookPHIDType::TYPECONST,
|
||||
PhabricatorTime::getNow());
|
||||
|
|
Loading…
Reference in a new issue