mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
Fix Macro active query
Summary: When using the active query in Macro, all Macros are returned. Properly set the status query. Test Plan: Review active macros, don't see archived macros. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D13912
This commit is contained in:
parent
7212e825fa
commit
e29255650c
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@ final class PhabricatorMacroSearchEngine
|
|||
|
||||
switch ($query_key) {
|
||||
case 'active':
|
||||
return $query;
|
||||
return $query->setParameter(
|
||||
'status',
|
||||
PhabricatorMacroQuery::STATUS_ACTIVE);
|
||||
case 'all':
|
||||
return $query->setParameter(
|
||||
'status',
|
||||
|
|
Loading…
Reference in a new issue