We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681de12 commit d3c4c09Copy full SHA for d3c4c09
src/spaceone/core/model/mongo_model/__init__.py
@@ -1266,9 +1266,9 @@ def _check_condition(cls, condition):
1266
@classmethod
1267
def _make_field_group_keys(cls, group_keys, field_group):
1268
field_group_keys = []
1269
- for group_key in group_keys:
1270
- key = group_key["key"].rsplit(".", 1)[-1:][0]
1271
- name = group_key["name"]
+ for group_option in group_keys:
+ key = group_option["name"]
+ name = group_option["name"]
1272
if name not in field_group:
1273
if name == "date":
1274
field_group_keys.append({"key": "date", "name": "date"})
0 commit comments