Skip to content

Commit

Permalink
Fix FilterFields no set
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Jan 3, 2024
1 parent e889bfe commit 96722b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion g3w-admin/editing/tests/test_api_transaction_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ def test_mode_config(self):
'relation_reference': True,
'loading': {
'state': None
}
},
'filter_expression': None,
'chain_filters': None,
'filter_fields':None

}
}
}])
Expand Down
2 changes: 1 addition & 1 deletion g3w-admin/qdjango/utils/edittype.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def input_form(self):
},
'filter_expression': self.FilterExpression if hasattr(self, 'FilterExpression') else None,
'chain_filters': self.ChainFilters if hasattr(self, 'ChainFilters') else None,
'filter_fields': self.FilterFields
'filter_fields': self.FilterFields if hasattr(self, 'FilterFields') else None
})

return input_form
Expand Down

0 comments on commit 96722b3

Please sign in to comment.