diff --git a/app/classes/ReleaseInsights/Beta.php b/app/classes/ReleaseInsights/Beta.php index 6700999..8f4cfc7 100644 --- a/app/classes/ReleaseInsights/Beta.php +++ b/app/classes/ReleaseInsights/Beta.php @@ -194,7 +194,7 @@ public function uplifts(): array } foreach ($log_links as $beta => $url) { - $uplifts_per_beta[$beta]['bugzilla'] = Bugzilla::getBugListLink($uplifts_per_beta[$beta]['bug_fixes']); + $uplifts_per_beta[$beta]['bugzilla'] = Bugzilla::getBugListLink($uplifts_per_beta[$beta]['total']); } // We use a natural sort to avoid having a beta 10 listed after beta 1 diff --git a/app/controllers/beta.php b/app/controllers/beta.php index 191d074..cf43f00 100644 --- a/app/controllers/beta.php +++ b/app/controllers/beta.php @@ -7,8 +7,6 @@ [$beta, $bug_details, $uplift_counter, $stats, $known_top_crashes, $crash_bugs, $bugzilla_links] = new Model('beta')->get(); -// dd($bugzilla_links); - new Template( 'beta.html.twig', [ diff --git a/app/models/beta.php b/app/models/beta.php index e7d63ee..e3be91f 100644 --- a/app/models/beta.php +++ b/app/models/beta.php @@ -144,7 +144,6 @@ Request::waitingPage('leave'); } -\ReleaseInsights\Debug::dump($bugzilla_links); return [ $beta, // this is the whole Beta object $bug_list_details, diff --git a/app/views/templates/beta.html.twig b/app/views/templates/beta.html.twig index 70eac8b..9c84252 100644 --- a/app/views/templates/beta.html.twig +++ b/app/views/templates/beta.html.twig @@ -50,9 +50,9 @@
  • {% if bug_list[key]|length == 1 %} - 1 bug uplifted + 1 bug uplifted {% elseif bug_list[key]|length > 1 %} - {{ bug_list[key]|length }} bugs uplifted + {{ bug_list[key]|length }} bugs uplifted {% if key == constant('BETA') ~ ".0rc0" %} (on the beta branch, those will ship in rc1) {% endif %} @@ -78,7 +78,7 @@ {% endif %} {% endif %} - {% if values['bug_fixes']|length > 0 %} + {% if values['total']|length > 0 %}
  • {% endif %}