Commit 8f7ce117 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update model_selector to fix a default values for the graph parameter kind.

parent 0498b874
......@@ -8,6 +8,10 @@ from model_report import DEF_GRAPH, DEF_SUMMARY
from pydal import Field
DEF_GRAPH_SEL["kind"] = "bar"
class Selector(object):
"""Create virtual tables used to generate selector interfaces.
......@@ -77,7 +81,7 @@ class Selector(object):
Field("summary_y", "json", default=DEF_SUMMARY),
Field("is_graph", "boolean"),
Field("graph", "json", default=DEF_GRAPH))
Field("graph", "json", default=DEF_GRAPH_SEL))
table.id_domains.requires = IS_IN_DB(db, "domains.domain")
table.id_fundings.requires = IS_IN_DB(db, "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment