prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Export-Button Problem in Modul "Brainstorming (with map)" on Prod, Stage and Dev
  **URL:** https://meinberlin-dev.liqd.net/dashboard/projects/multimodul-test-merkmalkategorie/basic/
  **user:** initiator, admin
  **expected behaviour:** as I user I want to export all Ideas and Comments in all moduls which have Ideas/Proposals
  **behaviour:** In the Modules "Brainstorming/Brainstorming with Map" I cannot see the Excel-Export-Button and therefore not export the ideas/comments in my project. 
  **important screensize:** - 
  **device & browser:** - 
  **Comment/Question:** Every other modul with proposals/ideas has the excel-export-button. There's a workaround when recreating the right URL, I can get to the Excel-Export page. In this case: https://meinberlin-dev.liqd.net/dashboard/modules/brainstorming-mit-karte-7/export/mapidea/
  <img width="311" alt="Bildschirm­foto 2023-02-03 um 10 50 25" src="https://user-images.githubusercontent.com/113608720/216568760-5075d601-eb68-44f1-9209-a3b547d994f9.png">
  
  
  Screenshot?
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `meinberlin/apps/mapideas/dashboard.py`
  Content:
  ```
  1 from django.urls import reverse
  2 from django.utils.translation import gettext_lazy as _
  3 
  4 from adhocracy4.dashboard import DashboardComponent
  5 from adhocracy4.dashboard import components
  6 
  7 from . import exports
  8 from . import views
  9 
  10 
  11 class ExportMapIdeaComponent(DashboardComponent):
  12     identifier = "mapidea_export"
  13     weight = 50
  14     label = _("Export Excel")
  15 
  16     def is_effective(self, module):
  17         return (
  18             module.blueprint_type == "MIC"
  19             and not module.project.is_draft
  20             and not module.is_draft
  21         )
  22 
  23     def get_progress(self, module):
  24         return 0, 0
  25 
  26     def get_base_url(self, module):
  27         return reverse(
  28             "a4dashboard:mapidea-export-module",
  29             kwargs={
  30                 "module_slug": module.slug,
  31             },
  32         )
  33 
  34     def get_urls(self):
  35         return [
  36             (
  37                 r"^modules/(?P<module_slug>[-\w_]+)/export/mapidea/$",
  38                 views.MapIdeaDashboardExportView.as_view(component=self),
  39                 "mapidea-export-module",
  40             ),
  41             (
  42                 r"^modules/(?P<module_slug>[-\w_]+)/export/mapidea/ideas/$",
  43                 exports.MapIdeaExportView.as_view(),
  44                 "mapidea-export",
  45             ),
  46             (
  47                 r"^modules/(?P<module_slug>[-\w_]+)/export/mapidea/comments/$",
  48                 exports.MapIdeaCommentExportView.as_view(),
  49                 "mapidea-comment-export",
  50             ),
  51         ]
  52 
  53 
  54 components.register_module(ExportMapIdeaComponent())
  55
  ```
  
  Path: `meinberlin/apps/ideas/dashboard.py`
  Content:
  ```
  1 from django.urls import reverse
  2 from django.utils.translation import gettext_lazy as _
  3 
  4 from adhocracy4.dashboard import DashboardComponent
  5 from adhocracy4.dashboard import components
  6 
  7 from . import exports
  8 from . import views
  9 
  10 
  11 class ExportIdeaComponent(DashboardComponent):
  12     identifier = "idea_export"
  13     weight = 50
  14     label = _("Export Excel")
  15 
  16     def is_effective(self, module):
  17         return (
  18             module.blueprint_type == "IC"
  19             and not module.project.is_draft
  20             and not module.is_draft
  21         )
  22 
  23     def get_progress(self, module):
  24         return 0, 0
  25 
  26     def get_base_url(self, module):
  27         return reverse(
  28             "a4dashboard:idea-export-module",
  29             kwargs={
  30                 "module_slug": module.slug,
  31             },
  32         )
  33 
  34     def get_urls(self):
  35         return [
  36             (
  37                 r"^modules/(?P<module_slug>[-\w_]+)/export/idea/$",
  38                 views.IdeaDashboardExportView.as_view(component=self),
  39                 "idea-export-module",
  40             ),
  41             (
  42                 r"^modules/(?P<module_slug>[-\w_]+)/export/idea/ideas/$",
  43                 exports.IdeaExportView.as_view(),
  44                 "idea-export",
  45             ),
  46             (
  47                 r"^modules/(?P<module_slug>[-\w_]+)/export/idea/comments/$",
  48                 exports.IdeaCommentExportView.as_view(),
  49                 "idea-comment-export",
  50             ),
  51         ]
  52 
  53 
  54 components.register_module(ExportIdeaComponent())
  55
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/meinberlin/apps/ideas/dashboard.py b/meinberlin/apps/ideas/dashboard.py
  --- a/meinberlin/apps/ideas/dashboard.py
  +++ b/meinberlin/apps/ideas/dashboard.py
  @@ -15,7 +15,7 @@
   
       def is_effective(self, module):
           return (
  -            module.blueprint_type == "IC"
  +            module.blueprint_type in ["IC", "BS"]
               and not module.project.is_draft
               and not module.is_draft
           )
  diff --git a/meinberlin/apps/mapideas/dashboard.py b/meinberlin/apps/mapideas/dashboard.py
  --- a/meinberlin/apps/mapideas/dashboard.py
  +++ b/meinberlin/apps/mapideas/dashboard.py
  @@ -15,7 +15,7 @@
   
       def is_effective(self, module):
           return (
  -            module.blueprint_type == "MIC"
  +            module.blueprint_type in ["MIC", "MBS"]
               and not module.project.is_draft
               and not module.is_draft
           )
  
verification_info: {"golden_diff": "diff --git a/meinberlin/apps/ideas/dashboard.py b/meinberlin/apps/ideas/dashboard.py\n--- a/meinberlin/apps/ideas/dashboard.py\n+++ b/meinberlin/apps/ideas/dashboard.py\n@@ -15,7 +15,7 @@\n \n     def is_effective(self, module):\n         return (\n-            module.blueprint_type == \"IC\"\n+            module.blueprint_type in [\"IC\", \"BS\"]\n             and not module.project.is_draft\n             and not module.is_draft\n         )\ndiff --git a/meinberlin/apps/mapideas/dashboard.py b/meinberlin/apps/mapideas/dashboard.py\n--- a/meinberlin/apps/mapideas/dashboard.py\n+++ b/meinberlin/apps/mapideas/dashboard.py\n@@ -15,7 +15,7 @@\n \n     def is_effective(self, module):\n         return (\n-            module.blueprint_type == \"MIC\"\n+            module.blueprint_type in [\"MIC\", \"MBS\"]\n             and not module.project.is_draft\n             and not module.is_draft\n         )\n", "issue": "Export-Button Problem in Modul \"Brainstorming (with map)\" on Prod, Stage and Dev\n**URL:** https://meinberlin-dev.liqd.net/dashboard/projects/multimodul-test-merkmalkategorie/basic/\r\n**user:** initiator, admin\r\n**expected behaviour:** as I user I want to export all Ideas and Comments in all moduls which have Ideas/Proposals\r\n**behaviour:** In the Modules \"Brainstorming/Brainstorming with Map\" I cannot see the Excel-Export-Button and therefore not export the ideas/comments in my project. \r\n**important screensize:** - \r\n**device & browser:** - \r\n**Comment/Question:** Every other modul with proposals/ideas has the excel-export-button. There's a workaround when recreating the right URL, I can get to the Excel-Export page. In this case: https://meinberlin-dev.liqd.net/dashboard/modules/brainstorming-mit-karte-7/export/mapidea/\r\n<img width=\"311\" alt=\"Bildschirm\u00adfoto 2023-02-03 um 10 50 25\" src=\"https://user-images.githubusercontent.com/113608720/216568760-5075d601-eb68-44f1-9209-a3b547d994f9.png\">\r\n\r\n\r\nScreenshot?\r\n\n", "before_files": [{"content": "from django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import exports\nfrom . import views\n\n\nclass ExportMapIdeaComponent(DashboardComponent):\n    identifier = \"mapidea_export\"\n    weight = 50\n    label = _(\"Export Excel\")\n\n    def is_effective(self, module):\n        return (\n            module.blueprint_type == \"MIC\"\n            and not module.project.is_draft\n            and not module.is_draft\n        )\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse(\n            \"a4dashboard:mapidea-export-module\",\n            kwargs={\n                \"module_slug\": module.slug,\n            },\n        )\n\n    def get_urls(self):\n        return [\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/$\",\n                views.MapIdeaDashboardExportView.as_view(component=self),\n                \"mapidea-export-module\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/ideas/$\",\n                exports.MapIdeaExportView.as_view(),\n                \"mapidea-export\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/comments/$\",\n                exports.MapIdeaCommentExportView.as_view(),\n                \"mapidea-comment-export\",\n            ),\n        ]\n\n\ncomponents.register_module(ExportMapIdeaComponent())\n", "path": "meinberlin/apps/mapideas/dashboard.py"}, {"content": "from django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import exports\nfrom . import views\n\n\nclass ExportIdeaComponent(DashboardComponent):\n    identifier = \"idea_export\"\n    weight = 50\n    label = _(\"Export Excel\")\n\n    def is_effective(self, module):\n        return (\n            module.blueprint_type == \"IC\"\n            and not module.project.is_draft\n            and not module.is_draft\n        )\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse(\n            \"a4dashboard:idea-export-module\",\n            kwargs={\n                \"module_slug\": module.slug,\n            },\n        )\n\n    def get_urls(self):\n        return [\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/$\",\n                views.IdeaDashboardExportView.as_view(component=self),\n                \"idea-export-module\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/ideas/$\",\n                exports.IdeaExportView.as_view(),\n                \"idea-export\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/comments/$\",\n                exports.IdeaCommentExportView.as_view(),\n                \"idea-comment-export\",\n            ),\n        ]\n\n\ncomponents.register_module(ExportIdeaComponent())\n", "path": "meinberlin/apps/ideas/dashboard.py"}], "after_files": [{"content": "from django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import exports\nfrom . import views\n\n\nclass ExportMapIdeaComponent(DashboardComponent):\n    identifier = \"mapidea_export\"\n    weight = 50\n    label = _(\"Export Excel\")\n\n    def is_effective(self, module):\n        return (\n            module.blueprint_type in [\"MIC\", \"MBS\"]\n            and not module.project.is_draft\n            and not module.is_draft\n        )\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse(\n            \"a4dashboard:mapidea-export-module\",\n            kwargs={\n                \"module_slug\": module.slug,\n            },\n        )\n\n    def get_urls(self):\n        return [\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/$\",\n                views.MapIdeaDashboardExportView.as_view(component=self),\n                \"mapidea-export-module\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/ideas/$\",\n                exports.MapIdeaExportView.as_view(),\n                \"mapidea-export\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/mapidea/comments/$\",\n                exports.MapIdeaCommentExportView.as_view(),\n                \"mapidea-comment-export\",\n            ),\n        ]\n\n\ncomponents.register_module(ExportMapIdeaComponent())\n", "path": "meinberlin/apps/mapideas/dashboard.py"}, {"content": "from django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import exports\nfrom . import views\n\n\nclass ExportIdeaComponent(DashboardComponent):\n    identifier = \"idea_export\"\n    weight = 50\n    label = _(\"Export Excel\")\n\n    def is_effective(self, module):\n        return (\n            module.blueprint_type in [\"IC\", \"BS\"]\n            and not module.project.is_draft\n            and not module.is_draft\n        )\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse(\n            \"a4dashboard:idea-export-module\",\n            kwargs={\n                \"module_slug\": module.slug,\n            },\n        )\n\n    def get_urls(self):\n        return [\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/$\",\n                views.IdeaDashboardExportView.as_view(component=self),\n                \"idea-export-module\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/ideas/$\",\n                exports.IdeaExportView.as_view(),\n                \"idea-export\",\n            ),\n            (\n                r\"^modules/(?P<module_slug>[-\\w_]+)/export/idea/comments/$\",\n                exports.IdeaCommentExportView.as_view(),\n                \"idea-comment-export\",\n            ),\n        ]\n\n\ncomponents.register_module(ExportIdeaComponent())\n", "path": "meinberlin/apps/ideas/dashboard.py"}]}