mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
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:
parent
81946fc08d
commit
9030fe8b09
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue