Fix ProgrammingError exception when annotating config context data
This commit is contained in:
parent
630ff2abb4
commit
0e95ca7b69
|
|
@ -82,7 +82,7 @@ class ConfigContextModelQuerySet(RestrictedQuerySet):
|
|||
self._get_config_context_filters()
|
||||
).annotate(
|
||||
_data=EmptyGroupByJSONBAgg('data', ordering=['weight', 'name'])
|
||||
).values("_data")
|
||||
).values("_data").order_by()
|
||||
)
|
||||
).distinct()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue