Skip to content

Commit

Permalink
Fix FilterExpression no set
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Jan 3, 2024
1 parent fa5c90a commit 70f04c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g3w-admin/qdjango/utils/edittype.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def input_form(self):
'loading': {
'state': None
},
'filter_expression': self.FilterExpression,
'filter_expression': self.FilterExpression if hasattr(self, 'FilterExpression') else None,
'chain_filters': self.ChainFilters,
'filter_fields': self.FilterFields
})
Expand Down

0 comments on commit 70f04c4

Please sign in to comment.