Mercurial > roundup-cc > roundup-cc
diff display_issues_demo.py @ 24:89469aa41fe1
Preliminary work to make the display more dynamic.
* The values are now dynamically read from the database and written to a
dynamic dict.
* If "None" (NoPrio) is not existent it is set to [0] because the JS expects a
value.
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Fri, 02 Nov 2018 17:06:45 +0100 |
parents | 7a523e13fcb3 |
children | 7161ce4e7ab1 |
line wrap: on
line diff
--- a/display_issues_demo.py Tue Oct 23 13:06:16 2018 +0200 +++ b/display_issues_demo.py Fri Nov 02 17:06:45 2018 +0100 @@ -35,4 +35,4 @@ #render_db_stats_as_html("./demo1.db", rcd.SELECT_ALL) render_db_stats_as_html(db, rcd.build_sql_select(columns).format("timestamp > date('now', '-2 month')"), - status, keywords) + columns, status, keywords)