From 8c927372821b768242c224bf9a344a3a81e9b211 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 5 Aug 2016 13:42:24 +0100 Subject: [PATCH] =?UTF-8?q?Make=20=E2=80=98total=E2=80=99=20the=20default?= =?UTF-8?q?=20status=20on=20a=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The blue bar on the job page works out which is the current status from the query parameters, not the parameters that the API gets called with. --- app/templates/partials/jobs/count.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/partials/jobs/count.html b/app/templates/partials/jobs/count.html index a9f91e093..2755f3259 100644 --- a/app/templates/partials/jobs/count.html +++ b/app/templates/partials/jobs/count.html @@ -1,5 +1,5 @@ {% from "components/pill.html" import pill %}
- {{ pill('Status', counts, status) }} + {{ pill('Status', counts, request.args.get('status', '')) }}