mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Add the id field to the default summary fields
This is to support the UI. ref: #1063
This commit is contained in:
parent
3228b41eea
commit
a9bf29d2a7
@ -50,7 +50,7 @@ from awx.fact.models import * # noqa
|
||||
logger = logging.getLogger('awx.api.serializers')
|
||||
|
||||
# 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
|
||||
# should be added to the serialized data. Values are a tuple of field names on
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user