From 6afc9afb69dc284940da188c49c4133f7a1fbe70 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 10 May 2019 16:43:13 +1200 Subject: [PATCH] Fix incorrect URL name leading to internal server error If you had a cover comment set on a comparison recipe record then you received an internal server error when that recipe got rendered in the search results. Use the current correct URL name to fix it. Signed-off-by: Paul Eggleton --- templates/layerindex/classicrecipes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layerindex/classicrecipes.html b/templates/layerindex/classicrecipes.html index b2f46f8..4a2ee07 100644 --- a/templates/layerindex/classicrecipes.html +++ b/templates/layerindex/classicrecipes.html @@ -261,7 +261,7 @@ {{ recipe.name }}{% if recipe.needs_attention %} {% endif %} {{ recipe.pv|truncatechars:10 }} {% if recipe.patch_set.exists %}{{ recipe.patch_set.count }}{% endif %} - {{ recipe.get_cover_status_display }}{% if recipe.cover_comment %} {% endif %} + {{ recipe.get_cover_status_display }}{% if recipe.cover_comment %} {% endif %} {% if recipe.cover_layerbranch %}{{ recipe.cover_layerbranch.layer.name }}{% endif %} {% if recipe.cover_pn %} {% if recipe.cover_recipe %}{% endif %}{{ recipe.cover_pn }}{% if recipe.cover_recipe %}{% endif %}