lims_report_html: some fixes (3)
This commit is contained in:
parent
fd678230fe
commit
3f824bab23
|
@ -471,8 +471,9 @@ class LimsReport(Report):
|
|||
with Transaction().set_context(locale=locale):
|
||||
env = cls.get_lims_environment()
|
||||
|
||||
header = {}
|
||||
report_template = env.from_string(template_string)
|
||||
context = cls.get_context(records, header=[], data=data)
|
||||
context = cls.get_context(records, header, data=data)
|
||||
context.update({
|
||||
'report': action,
|
||||
'get_image': cls.get_image,
|
||||
|
|
Loading…
Reference in New Issue