Skip to content

Commit

Permalink
[MOD] Allow ConnectionExpression as DataSource for Subreports
Browse files Browse the repository at this point in the history
  • Loading branch information
Maartincm committed Jan 25, 2019
1 parent de78f58 commit 9790318
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jasper_reports/JasperReports/jasper_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@ def extract_properties(self):
data_source_expression = tag.findtext(text1 % ns, '')

if not data_source_expression:
continue
text2 = '{%s}connectionExpression'
data_source_expression = tag.findtext(text2 % ns, '')
if not data_source_expression:
continue

data_source_expression = data_source_expression.strip()
m = DATA_SOURCE_EXPRESSION_REG_EXP.match(data_source_expression)

This comment has been minimized.

Expand Down

0 comments on commit 9790318

Please sign in to comment.