Skip to content

Commit

Permalink
Add new options properties of relation_reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Jan 3, 2024
1 parent 9a6fb8b commit fa5c90a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions g3w-admin/qdjango/utils/edittype.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ def input_form(self):

input_form = super(QgisEditTypeRelationReference, self).input_form

# Explode Filter Expression
#filter_expression = explode_expression(self.FilterExpression) if self.FilterExpression != '' else None

# add params for get value
input_form['input']['options'].update({
Expand All @@ -234,6 +232,9 @@ def input_form(self):
'loading': {
'state': None
},
'filter_expression': self.FilterExpression,
'chain_filters': self.ChainFilters,
'filter_fields': self.FilterFields
})

return input_form
Expand Down

0 comments on commit fa5c90a

Please sign in to comment.