From a7132ccec75daad76a123bedb7a7acccda01e0b8 Mon Sep 17 00:00:00 2001 From: d3prof3t Date: Oct 01 2016 06:05:58 +0000 Subject: used correct params for progress bar calculation --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index aafee81..a2708cc 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -51,8 +51,8 @@ {% if oth_issues %}
{% if (issues | length + oth_issues) %} - - {{ (100.0 * (1 - issues | length / (issues | length + oth_issues)))|round|int }}% + + {{ (100.0 * (1 - issues_cnt / (issues_cnt + oth_issues)))|round|int }}% {% endif %}