1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Diffusion - fix a bug from T2784 (D5894 to be more specific)

Summary: Fixes T3314. Now you can view the tags for a specific commit.

Test Plan: visited http://phabricator.dev/diffusion/P/tags/master/;9b5f0aa03a5ffc93d5f4fce83fef5efb435097cc and saw a nice, 'no tags' paged. Then I tagged the commit, did a git pull, and reloaded. On reload, the page showed a tag.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T3314

Differential Revision: https://secure.phabricator.com/D6168
This commit is contained in:
Bob Trahan 2013-06-10 16:15:06 -07:00
parent fed0a2a496
commit 0779682694

View file

@ -18,7 +18,7 @@ final class DiffusionTagListController extends DiffusionController {
'offset' => $pager->getOffset()); 'offset' => $pager->getOffset());
if ($drequest->getRawCommit()) { if ($drequest->getRawCommit()) {
$is_commit = true; $is_commit = true;
$params['commit'] = $request->getCommit(); $params['commit'] = $drequest->getRawCommit();
} else { } else {
$is_commit = false; $is_commit = false;
} }