From 6be66ac98b0ec7a9671e8ba9b28dfe8f73f9691d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 28 Sep 2018 13:14:37 -0700 Subject: try to fix contrib indexing --- python/fatcat/templates/release_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html index 57fe5725..e3c077b9 100644 --- a/python/fatcat/templates/release_view.html +++ b/python/fatcat/templates/release_view.html @@ -97,7 +97,7 @@ Raw Object: {% for contrib in release.contribs %} - {% if type(contrib.index) == int %} {{ contrib.index + 1 }}{% endif %} + {% if contrib.index or contrib.index == 0 %} {{ contrib.index + 1 }}{% endif %} {% if contrib.creator_id %} {{ contrib.raw_name }} {% else %} -- cgit v1.2.3