mirror of
https://github.com/ansible/awx.git
synced 2026-04-10 20:49:24 -02:30
Add the id field to the default summary fields
This is to support the UI. ref: #1063
This commit is contained in:
@@ -50,7 +50,7 @@ from awx.fact.models import * # noqa
|
|||||||
logger = logging.getLogger('awx.api.serializers')
|
logger = logging.getLogger('awx.api.serializers')
|
||||||
|
|
||||||
# Fields that should be summarized regardless of object type.
|
# Fields that should be summarized regardless of object type.
|
||||||
DEFAULT_SUMMARY_FIELDS = ('name', 'description')# , 'created_by', 'modified_by')#, 'type')
|
DEFAULT_SUMMARY_FIELDS = ('id', 'name', 'description')# , 'created_by', 'modified_by')#, 'type')
|
||||||
|
|
||||||
# Keys are fields (foreign keys) where, if found on an instance, summary info
|
# Keys are fields (foreign keys) where, if found on an instance, summary info
|
||||||
# should be added to the serialized data. Values are a tuple of field names on
|
# should be added to the serialized data. Values are a tuple of field names on
|
||||||
|
|||||||
Reference in New Issue
Block a user