mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Modernize Differential SearchEngine just enough to get NUX
Summary: Ref T10032. This is sufficent to hit NUX without doing anything bad. Test Plan: - Visited NUX. - Browsed normally. {F1043191} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10032 Differential Revision: https://secure.phabricator.com/D14876
This commit is contained in:
parent
37f1f55557
commit
992dedcadd
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@ final class DifferentialRevisionSearchEngine
|
||||||
return 'PhabricatorDifferentialApplication';
|
return 'PhabricatorDifferentialApplication';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function newQuery() {
|
||||||
|
return id(new DifferentialRevisionQuery())
|
||||||
|
->needFlags(true)
|
||||||
|
->needDrafts(true)
|
||||||
|
->needRelationships(true);
|
||||||
|
}
|
||||||
|
|
||||||
public function getPageSize(PhabricatorSavedQuery $saved) {
|
public function getPageSize(PhabricatorSavedQuery $saved) {
|
||||||
if ($saved->getQueryKey() == 'active') {
|
if ($saved->getQueryKey() == 'active') {
|
||||||
return 0xFFFF;
|
return 0xFFFF;
|
||||||
|
|
Loading…
Reference in a new issue