fix generation of result set for subreport fields
This commit is contained in:
parent
9620ed0c95
commit
ec1628dd00
2 changed files with 5 additions and 4 deletions
|
@ -197,4 +197,4 @@ class SubReportField(Field):
|
||||||
|
|
||||||
def getValue(self, row):
|
def getValue(self, row):
|
||||||
ri = self.getReportInstance(row)
|
ri = self.getReportInstance(row)
|
||||||
return ResultSet(ri, ri.getResults())
|
return ri.getResults()
|
||||||
|
|
|
@ -280,7 +280,8 @@ We can now access the report using a results view.
|
||||||
... for col in resultsView.displayedColumns:
|
... for col in resultsView.displayedColumns:
|
||||||
... print col.getDisplayValue(row),
|
... print col.getDisplayValue(row),
|
||||||
... print
|
... print
|
||||||
{'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'}
|
{'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'} []
|
||||||
|
|
||||||
<cybertools.composer.report.result.ResultSet object ...>
|
<cybertools.composer.report.result.ResultSet object ...>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue