Updated resources index
authorThierry Florac <tflorac@ulthar.net>
Thu, 27 Dec 2018 19:16:55 +0100
changeset 122 ef127b6fbd3c
parent 121 20be71212884
child 123 baa26ee96741
Updated resources index
src/pyams_content_es/shared/resource.py
--- a/src/pyams_content_es/shared/resource.py	Thu Dec 27 14:27:48 2018 +0100
+++ b/src/pyams_content_es/shared/resource.py	Thu Dec 27 19:16:55 2018 +0100
@@ -25,7 +25,15 @@
     field_names = content.field_names
     result = {
         'author': resource_info.author if 'author' in field_names else None,
+        'drawer': resource_info.drawer if 'drawer' in field_names else None,
+        'colourist': resource_info.colourist if 'colourist' in field_names else None,
+        'lettering': resource_info.lettering if 'lettering' in field_names else None,
+        'producer': resource_info.producer if 'producer' in field_names else None,
+        'director': resource_info.director if 'director' in field_names else None,
+        'actors': resource_info.actors if 'actors' in field_names else None,
         'editor': resource_info.editor if 'editor' in field_names else None,
+        'collection': resource_info.collection if 'collection' in field_names else None,
+        'series': resource_info.series if 'series' in field_names else None,
         'editor_reference': resource_info.editor_reference if 'editor_reference' in field_names else None,
         'isbn_number': resource_info.isbn_number if 'isbn_number' in field_names else None
     }