Mercurial > roundup-cc
diff display_issues_demo.py @ 28:e2864dabdb8c
fixes a logical error in the filtering of columns.
* The columns are stored in the pure order as they appear in the config.
* display_issues.py has been renamed to roundup_cc_display.py.
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Thu, 22 Nov 2018 12:57:20 +0100 |
parents | 761ee2351f58 |
children |
line wrap: on
line diff
--- a/display_issues_demo.py Tue Nov 13 21:04:22 2018 +0100 +++ b/display_issues_demo.py Thu Nov 22 12:57:20 2018 +0100 @@ -47,6 +47,8 @@ print("Incorrect [SEARCH]Search parameter. (prio, status)") return + # roundup uses a "-" in its search parameters. Sql can't handle it. + columns = columns.replace("-", "_") cgitb.enable() # (optional) HTML traceback to browser #render_db_stats_as_html("./demo1.db", rcd.SELECT_ALL)