Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit afedf45b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix anothers bugs in graph_tools.do_linechart, do_query.

parent 0274d5c2
......@@ -137,7 +137,9 @@ def do_linechart(publications, selector, target=None):
for row in rows:
submitted = row.publications.submitted
if not rx_submitted.match(submitted):
# protection
if is_month and not rx_submitted.match(submitted):
continue
if is_cumu:
......@@ -219,6 +221,9 @@ def do_query(publications, selector):
q_end = publications.submitted[0:4] <= year_end
query &= ((q_start) & (q_end))
elif year_end and not year_start:
query &= publications.submitted[0:4] <= year_end
return query
......
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