From f1a62a4843eeed761bf673f7a74f676f4db14c6b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 20 2017 08:38:58 +0000 Subject: [PATCH 1/4] Fix displaying issues when the custom field list has no options Basically this has happened a few times when importing a project into pagure, the custom field of type list is created, given a value but no data field (ie: no list of options). This breaks the entire page since we fails at offering the different options for that field. With this fix, we do not fix the root cause but we do fix the symptoms. --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 3836e49..52b4516 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -385,7 +385,7 @@ {% if field.key_type == 'list' %}