Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/query/PhabricatorProjectQuery.php
Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Lines | return parent::getOrderableColumns() + array( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
'milestoneNumber' => array( | 'milestoneNumber' => array( | ||||
'table' => $this->getPrimaryTableAlias(), | 'table' => $this->getPrimaryTableAlias(), | ||||
'column' => 'milestoneNumber', | 'column' => 'milestoneNumber', | ||||
'type' => 'int', | 'type' => 'int', | ||||
), | ), | ||||
'status' => array( | |||||
'table' => $this->getPrimaryTableAlias(), | |||||
'column' => 'status', | |||||
'type' => 'int', | |||||
), | |||||
); | ); | ||||
} | } | ||||
protected function getPagingValueMap($cursor, array $keys) { | protected function getPagingValueMap($cursor, array $keys) { | ||||
$project = $this->loadCursorObject($cursor); | $project = $this->loadCursorObject($cursor); | ||||
return array( | return array( | ||||
'id' => $project->getID(), | 'id' => $project->getID(), | ||||
'name' => $project->getName(), | 'name' => $project->getName(), | ||||
▲ Show 20 Lines • Show All 662 Lines • Show Last 20 Lines |