1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02: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:
vrana 2012-08-09 22:16:32 -07:00
parent 81946fc08d
commit 9030fe8b09

View file

@ -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);
}