@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix a bad call when prefilling ApplicationSearch from `?projects=some_slug`

Summary: Fixes T10299.

Test Plan:
- Visited `/maniphest/?projects=x` locally, where `x` is some valid project slug.
- Before patch: Fatal on `requireViewer()` call.
- After patch: Works correctly, filling the correct project into parameters.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10299

Differential Revision: https://secure.phabricator.com/D15214

+1 -1
+1 -1
src/applications/project/searchfield/PhabricatorProjectSearchField.php
··· 34 34 35 35 if ($slugs) { 36 36 $projects = id(new PhabricatorProjectQuery()) 37 - ->setViewer($this->requireViewer()) 37 + ->setViewer($this->getViewer()) 38 38 ->withSlugs($slugs) 39 39 ->execute(); 40 40 foreach ($projects as $project) {