]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
templates: Fix regression in reversed URL
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 15 Mar 2016 21:14:39 +0000 (21:14 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 21 Mar 2016 21:21:06 +0000 (21:21 +0000)
'f8cc68d' introduced a regression on the changes made in 'fd3bfaa'.
Namely, Python path-style reversing was used, rather than reverse by
name. Resolve this regression.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/templates/patchwork/patch-list.html

index 167363e7413f8ef11a5e8a0081f26be2e51b366e..afa36210ec845515784293f6267885bdd9b20df0 100644 (file)
@@ -172,7 +172,7 @@ $(document).ready(function() {
    </td>
    {% endif %}
    <td>
-    <a href="{% url 'patchwork.views.patch.patch' patch_id=patch.id %}">
+    <a href="{% url 'patch-detail' patch_id=patch.id %}">
      {{ patch.name|default:"[no subject]"|truncatechars:100 }}
     </a>
    </td>