From d6847361963c4893e06c0edf9efc0080a7ed0756 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 19 Apr 2021 16:15:06 -0700 Subject: web: expand release creators in more situations --- python/fatcat_web/entity_helpers.py | 2 +- python/fatcat_web/templates/release_view.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python/fatcat_web') 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. -{{ entity_macros.fatcat_bits(entity, "release", "container,files,filesets,webcaptures", editgroup) }} +{{ entity_macros.fatcat_bits(entity, "release", "container,creators,files,filesets,webcaptures", editgroup) }} -- cgit v1.2.3