]> git.parisson.com Git - mezzo.git/commitdiff
Bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 15 Nov 2016 11:46:14 +0000 (12:46 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 15 Nov 2016 11:46:14 +0000 (12:46 +0100)
app/organization/core/templatetags/organization_tags.py
lib/mezzanine-agenda

index 01fefc1552ea79694ff4c2212160bc6e504f8882..5e2a9b4461e046d0ae0ddc000cf9e2f7cc2eb45c 100644 (file)
@@ -102,8 +102,8 @@ def get_type(objects, type):
     return None
 
 @register.filter
-def get_type_link(objects, name):
-    objs = objects.filter(link_type__name=name)
+def get_type_link(objects, slug):
+    objs = objects.filter(link_type__slug=slug)
     if objs:
         return objs
     return None
index 312ec5c0d72c5a501041dbed8d93ee0f577dc0f2..a7721e851c6d1c292433e404fcfca146d56d0646 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 312ec5c0d72c5a501041dbed8d93ee0f577dc0f2
+Subproject commit a7721e851c6d1c292433e404fcfca146d56d0646