summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-19 16:15:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-04-19 16:15:06 -0700
commitd6847361963c4893e06c0edf9efc0080a7ed0756 (patch)
treeb4024d2674936f10fd165041386bd3506405d6d5 /python
parentbc8dbb0c3a82e4ab6172c6f899e399fdc972a6b1 (diff)
downloadfatcat-d6847361963c4893e06c0edf9efc0080a7ed0756.tar.gz
fatcat-d6847361963c4893e06c0edf9efc0080a7ed0756.zip
web: expand release creators in more situations
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/entity_helpers.py2
-rw-r--r--python/fatcat_web/templates/release_view.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/entity_helpers.py b/python/fatcat_web/entity_helpers.py
index 7156b9be..b2af0590 100644
--- a/python/fatcat_web/entity_helpers.py
+++ b/python/fatcat_web/entity_helpers.py
@@ -116,7 +116,7 @@ def generic_get_entity(entity_type, ident):
elif entity_type == 'webcapture':
return enrich_webcapture_entity(api.get_webcapture(ident, expand="releases"))
elif entity_type == 'release':
- return enrich_release_entity(api.get_release(ident, expand="container,files,filesets,webcaptures"))
+ return enrich_release_entity(api.get_release(ident, expand="container,creators,files,filesets,webcaptures"))
elif entity_type == 'work':
return enrich_work_entity(api.get_work(ident))
else:
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 90ea6592..a9e284ba 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -402,7 +402,7 @@ accessible version.
</div>
</div>
-{{ entity_macros.fatcat_bits(entity, "release", "container,files,filesets,webcaptures", editgroup) }}
+{{ entity_macros.fatcat_bits(entity, "release", "container,creators,files,filesets,webcaptures", editgroup) }}
</div>
</div>