From dc28d161ade4f4dc77797f5c59fe428defb54251 Mon Sep 17 00:00:00 2001 From: Tarmo Lehtpuu Date: Sun, 11 Aug 2013 10:05:47 -0700 Subject: [PATCH] Change (No Filtering) to be the default selected option. Summary: Cleaning up my mess, (No Filtering) should be the default selected option in macros search form. Test Plan: Go to /macro/query/advanced/ and verify that (No Filtering) is the default selected option. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Maniphest Tasks: T3692 Differential Revision: https://secure.phabricator.com/D6715 --- src/applications/macro/query/PhabricatorMacroSearchEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/macro/query/PhabricatorMacroSearchEngine.php b/src/applications/macro/query/PhabricatorMacroSearchEngine.php index 989dbe5fb6..d30c0383b0 100644 --- a/src/applications/macro/query/PhabricatorMacroSearchEngine.php +++ b/src/applications/macro/query/PhabricatorMacroSearchEngine.php @@ -14,7 +14,7 @@ final class PhabricatorMacroSearchEngine $saved->setParameter('nameLike', $request->getStr('nameLike')); $saved->setParameter('createdStart', $request->getStr('createdStart')); $saved->setParameter('createdEnd', $request->getStr('createdEnd')); - $saved->setParameter('flagColor', $request->getStr('flagColor')); + $saved->setParameter('flagColor', $request->getStr('flagColor', '-1')); return $saved; }