Skip to content

Commit 1ac07c1

Browse files
committed
Partially fixes #331
1 parent d049203 commit 1ac07c1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

dojo/metrics/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ def metrics(request, mtype):
307307
'start_date': start_date,
308308
'end_date': end_date,
309309
'findings': findings.qs,
310+
'find_object': findings,
310311
'opened_per_month': monthly_counts['opened_per_period'],
311312
'active_per_month': monthly_counts['active_per_period'],
312313
'opened_per_week': weekly_counts['opened_per_period'],

dojo/templates/dojo/metrics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3 class="has-filters">
120120
</h3>
121121
</div>
122122
<div id="the-filters" class="panel-body collapse {% if request.META.QUERY_STRING %}in{% endif %}">
123-
{% include "dojo/filter_snippet.html" with form=findings.form clear_link="/metrics" %}
123+
{% include "dojo/filter_snippet.html" with form=find_object.form clear_link="/metrics" %}
124124
</div>
125125
</div>
126126

reports.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
sudo apt-get install -y openssl build-essential xorg libssl-dev
4-
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
5-
tar xvfJ wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
4+
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
5+
tar xvfJ wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
66
sudo chown root:root wkhtmltox/bin/wkhtmltopdf
77
sudo cp wkhtmltox/bin/wkhtmltopdf /usr/bin/wkhtmltopdf

0 commit comments

Comments
 (0)