changeset 45:8449509b7f6f

Limit time frame of graph Requires roundup_cc ≥ 99e2e0e17103.
author Gernot Schulz <gernot@intevation.de>
date Sun, 31 Jan 2016 15:32:35 +0100
parents b47fc5eb9e01
children ba41c0fbd6e7
files modules/web_view/display_issues_techintern.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/web_view/display_issues_techintern.py	Sun Jan 31 15:22:52 2016 +0100
+++ b/modules/web_view/display_issues_techintern.py	Sun Jan 31 15:32:35 2016 +0100
@@ -27,7 +27,7 @@
 def get_chart(target_div_name):
     html_string = compile_db_stats_html(
         rcd.DATABASE_TECH_INTERN,
-        rcd.SELECT_ALL,
+        rcd.SELECT_WHERE.format("timestamp > date('now', '-2 month')"),
         graph
     )
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)