Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/engine/PhabricatorBoardLayoutEngine.php
| Show First 20 Lines • Show All 429 Lines • ▼ Show 20 Lines | foreach ($columns as $column) { | ||||
| $proxy_map[$proxy_phid] = $column->getPHID(); | $proxy_map[$proxy_phid] = $column->getPHID(); | ||||
| } | } | ||||
| } | } | ||||
| $object_phids = $this->getObjectPHIDs(); | $object_phids = $this->getObjectPHIDs(); | ||||
| // If we have proxies, we need to force cards into the correct proxy | // If we have proxies, we need to force cards into the correct proxy | ||||
| // columns. | // columns. | ||||
| if ($proxy_map) { | if ($proxy_map && $object_phids) { | ||||
| $edge_query = id(new PhabricatorEdgeQuery()) | $edge_query = id(new PhabricatorEdgeQuery()) | ||||
| ->withSourcePHIDs($object_phids) | ->withSourcePHIDs($object_phids) | ||||
| ->withEdgeTypes( | ->withEdgeTypes( | ||||
| array( | array( | ||||
| PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | ||||
| )); | )); | ||||
| $edge_query->execute(); | $edge_query->execute(); | ||||
| ▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines | |||||