diff --git a/meinberlin/apps/contrib/sitemaps/static_sitemap.py b/meinberlin/apps/contrib/sitemaps/static_sitemap.py index b696e1ffac..f62c0be3e7 100644 --- a/meinberlin/apps/contrib/sitemaps/static_sitemap.py +++ b/meinberlin/apps/contrib/sitemaps/static_sitemap.py @@ -7,7 +7,7 @@ class StaticSitemap(Sitemap): priority = 0.8 def items(self): - return ["project-list"] + return ["plan-list"] def location(self, obj): return reverse(obj) diff --git a/meinberlin/apps/organisations/models.py b/meinberlin/apps/organisations/models.py index 38d67260ac..22703735f7 100644 --- a/meinberlin/apps/organisations/models.py +++ b/meinberlin/apps/organisations/models.py @@ -43,8 +43,4 @@ def has_initiator(self, user): return user in self.initiators.all() def get_absolute_url(self): - from django.utils.http import urlencode - return '%s?%s' % ( - reverse('project-list'), - urlencode({'organisation': self.pk}) - ) + return reverse('plan-list') diff --git a/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html b/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html index f71db707d6..a55ba52c26 100644 --- a/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html +++ b/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html @@ -33,7 +33,7 @@