Commit 433864c1 authored by Tomáš Peterka's avatar Tomáš Peterka

[Formulator] Field keeps request if given as an argument (for passing test request)

parent 199e7247
...@@ -111,6 +111,7 @@ class Field: ...@@ -111,6 +111,7 @@ class Field:
# add 'here' if not in kw # add 'here' if not in kw
if not kw.has_key('here'): if not kw.has_key('here'):
kw['here'] = self.aq_parent kw['here'] = self.aq_parent
if 'request' not in kw:
kw['request'] = self.REQUEST kw['request'] = self.REQUEST
value = tales_expr.__of__(self)( value = tales_expr.__of__(self)(
field=self, field=self,
......
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