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):
|
||||
ri = self.getReportInstance(row)
|
||||
return ResultSet(ri, ri.getResults())
|
||||
return ri.getResults()
|
||||
|
|
|
@ -280,8 +280,9 @@ We can now access the report using a results view.
|
|||
... for col in resultsView.displayedColumns:
|
||||
... print col.getDisplayValue(row),
|
||||
... print
|
||||
{'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'}
|
||||
<cybertools.composer.report.result.ResultSet object ...>
|
||||
{'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'} []
|
||||
|
||||
<cybertools.composer.report.result.ResultSet object ...>
|
||||
|
||||
|
||||
Fin de partie
|
||||
|
|
Loading…
Add table
Reference in a new issue