quote join names in field references
This commit is contained in:
parent
29738e16a0
commit
3df888cb1d
|
@ -793,8 +793,8 @@ class WcsFormdefFeeder(object):
|
|||
'label': u'fonction %s' % name.lower(),
|
||||
'join': [at],
|
||||
'type': 'integer',
|
||||
'value': '%s.id' % at,
|
||||
'value_label': '%s.label' % at,
|
||||
'value': '"%s".id' % at,
|
||||
'value_label': '"%s".label' % at,
|
||||
'filter': False,
|
||||
})
|
||||
|
||||
|
@ -823,8 +823,8 @@ class WcsFormdefFeeder(object):
|
|||
'label': field.label.lower(),
|
||||
'join': [field.varname],
|
||||
'type': 'integer',
|
||||
'value': '%s.id' % field.varname,
|
||||
'value_label': '%s.label' % field.varname,
|
||||
'value': '"%s".id' % field.varname,
|
||||
'value_label': '"%s".label' % field.varname,
|
||||
'filter': True,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue