Respect type in symbol query
Summary: Was completely ignored. Test Plan: /diffusion/symbol/C/?type=function Reviewers: alanh Reviewed By: alanh CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D3234
This commit is contained in:
@@ -225,6 +225,13 @@ final class DiffusionSymbolQuery extends PhabricatorOffsetPagedQuery {
|
||||
$this->language);
|
||||
}
|
||||
|
||||
if ($this->type) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'symbolType = %s',
|
||||
$this->type);
|
||||
}
|
||||
|
||||
return $this->formatWhereClause($where);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user