We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Organisation report shown in project reports page
The "Project overview" report is displayed on the project report page, which is an organisation report  and should not be displayed on the project report page.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `akvo/rest/views/report.py`
Content:
```
1 # -*- coding: utf-8 -*-
2 
3 # Akvo RSR is covered by the GNU Affero General Public License.
4 # See more details in the license.txt file located at the root folder of the Akvo RSR module.
5 # For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
6 
7 from django.db.models import Q
8 from django.shortcuts import get_object_or_404
9 from rest_framework import status
10 from rest_framework.decorators import api_view
11 from rest_framework.response import Response
12 
13 from akvo.rsr.models import Report, ReportFormat, Project
14 from ..serializers import ReportSerializer, ReportFormatSerializer
15 from ..viewsets import BaseRSRViewSet
16 
17 
18 class ReportViewSet(BaseRSRViewSet):
19     """Viewset providing Result data."""
20 
21     queryset = Report.objects.prefetch_related(
22         'organisations',
23         'formats',
24     )
25     serializer_class = ReportSerializer
26 
27     def get_queryset(self):
28         """
29         Allow custom filter for sync_owner, since this field has been replaced by the
30         reporting org partnership.
31         """
32         reports = super(ReportViewSet, self).get_queryset()
33         user = self.request.user
34         is_admin = user.is_active and (user.is_superuser or user.is_admin)
35         if not is_admin:
36             # Show only those reports that the user is allowed to see
37             approved_orgs = user.approved_organisations() if not user.is_anonymous() else []
38             reports = reports.filter(
39                 Q(organisations=None) | Q(organisations__in=approved_orgs)
40             ).distinct()
41         return reports
42 
43 
44 @api_view(['GET'])
45 def report_formats(request):
46     """
47     A view for displaying all report format information.
48     """
49     return Response({
50         'count': ReportFormat.objects.all().count(),
51         'results': [ReportFormatSerializer(f).data for f in ReportFormat.objects.all()],
52     })
53 
54 
55 @api_view(['GET'])
56 def project_reports(request, project_pk):
57     """A view for displaying project specific reports."""
58 
59     project = get_object_or_404(Project, pk=project_pk)
60     reports = Report.objects.prefetch_related('formats', 'organisations')\
61                             .filter(url__icontains='project')
62 
63     user = request.user
64     if not user.has_perm('rsr.view_project', project):
65         return Response('Request not allowed', status=status.HTTP_403_FORBIDDEN)
66 
67     is_admin = user.is_active and (user.is_superuser or user.is_admin)
68 
69     if not is_admin:
70         partners_org = project.partner_organisation_pks()
71         reports = reports.filter(
72             Q(organisations=None) | Q(organisations__in=partners_org)
73         )
74 
75     serializer = ReportSerializer(reports.distinct(), many=True)
76     return Response(serializer.data)
77
```
--- 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()

```

diff --git a/akvo/rest/views/report.py b/akvo/rest/views/report.py
--- a/akvo/rest/views/report.py
+++ b/akvo/rest/views/report.py
@@ -58,7 +58,7 @@
 
     project = get_object_or_404(Project, pk=project_pk)
     reports = Report.objects.prefetch_related('formats', 'organisations')\
-                            .filter(url__icontains='project')
+                            .filter(url__icontains='{project}')
 
     user = request.user
     if not user.has_perm('rsr.view_project', project):

{"golden_diff": "diff --git a/akvo/rest/views/report.py b/akvo/rest/views/report.py\n--- a/akvo/rest/views/report.py\n+++ b/akvo/rest/views/report.py\n@@ -58,7 +58,7 @@\n \n     project = get_object_or_404(Project, pk=project_pk)\n     reports = Report.objects.prefetch_related('formats', 'organisations')\\\n-                            .filter(url__icontains='project')\n+                            .filter(url__icontains='{project}')\n \n     user = request.user\n     if not user.has_perm('rsr.view_project', project):\n", "issue": "Organisation report shown in project reports page\nThe \"Project overview\" report is displayed on the project report page, which is an organisation report  and should not be displayed on the project report page.\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\n# Akvo RSR is covered by the GNU Affero General Public License.\n# See more details in the license.txt file located at the root folder of the Akvo RSR module.\n# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.\n\nfrom django.db.models import Q\nfrom django.shortcuts import get_object_or_404\nfrom rest_framework import status\nfrom rest_framework.decorators import api_view\nfrom rest_framework.response import Response\n\nfrom akvo.rsr.models import Report, ReportFormat, Project\nfrom ..serializers import ReportSerializer, ReportFormatSerializer\nfrom ..viewsets import BaseRSRViewSet\n\n\nclass ReportViewSet(BaseRSRViewSet):\n    \"\"\"Viewset providing Result data.\"\"\"\n\n    queryset = Report.objects.prefetch_related(\n        'organisations',\n        'formats',\n    )\n    serializer_class = ReportSerializer\n\n    def get_queryset(self):\n        \"\"\"\n        Allow custom filter for sync_owner, since this field has been replaced by the\n        reporting org partnership.\n        \"\"\"\n        reports = super(ReportViewSet, self).get_queryset()\n        user = self.request.user\n        is_admin = user.is_active and (user.is_superuser or user.is_admin)\n        if not is_admin:\n            # Show only those reports that the user is allowed to see\n            approved_orgs = user.approved_organisations() if not user.is_anonymous() else []\n            reports = reports.filter(\n                Q(organisations=None) | Q(organisations__in=approved_orgs)\n            ).distinct()\n        return reports\n\n\n@api_view(['GET'])\ndef report_formats(request):\n    \"\"\"\n    A view for displaying all report format information.\n    \"\"\"\n    return Response({\n        'count': ReportFormat.objects.all().count(),\n        'results': [ReportFormatSerializer(f).data for f in ReportFormat.objects.all()],\n    })\n\n\n@api_view(['GET'])\ndef project_reports(request, project_pk):\n    \"\"\"A view for displaying project specific reports.\"\"\"\n\n    project = get_object_or_404(Project, pk=project_pk)\n    reports = Report.objects.prefetch_related('formats', 'organisations')\\\n                            .filter(url__icontains='project')\n\n    user = request.user\n    if not user.has_perm('rsr.view_project', project):\n        return Response('Request not allowed', status=status.HTTP_403_FORBIDDEN)\n\n    is_admin = user.is_active and (user.is_superuser or user.is_admin)\n\n    if not is_admin:\n        partners_org = project.partner_organisation_pks()\n        reports = reports.filter(\n            Q(organisations=None) | Q(organisations__in=partners_org)\n        )\n\n    serializer = ReportSerializer(reports.distinct(), many=True)\n    return Response(serializer.data)\n", "path": "akvo/rest/views/report.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n\n# Akvo RSR is covered by the GNU Affero General Public License.\n# See more details in the license.txt file located at the root folder of the Akvo RSR module.\n# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.\n\nfrom django.db.models import Q\nfrom django.shortcuts import get_object_or_404\nfrom rest_framework import status\nfrom rest_framework.decorators import api_view\nfrom rest_framework.response import Response\n\nfrom akvo.rsr.models import Report, ReportFormat, Project\nfrom ..serializers import ReportSerializer, ReportFormatSerializer\nfrom ..viewsets import BaseRSRViewSet\n\n\nclass ReportViewSet(BaseRSRViewSet):\n    \"\"\"Viewset providing Result data.\"\"\"\n\n    queryset = Report.objects.prefetch_related(\n        'organisations',\n        'formats',\n    )\n    serializer_class = ReportSerializer\n\n    def get_queryset(self):\n        \"\"\"\n        Allow custom filter for sync_owner, since this field has been replaced by the\n        reporting org partnership.\n        \"\"\"\n        reports = super(ReportViewSet, self).get_queryset()\n        user = self.request.user\n        is_admin = user.is_active and (user.is_superuser or user.is_admin)\n        if not is_admin:\n            # Show only those reports that the user is allowed to see\n            approved_orgs = user.approved_organisations() if not user.is_anonymous() else []\n            reports = reports.filter(\n                Q(organisations=None) | Q(organisations__in=approved_orgs)\n            ).distinct()\n        return reports\n\n\n@api_view(['GET'])\ndef report_formats(request):\n    \"\"\"\n    A view for displaying all report format information.\n    \"\"\"\n    return Response({\n        'count': ReportFormat.objects.all().count(),\n        'results': [ReportFormatSerializer(f).data for f in ReportFormat.objects.all()],\n    })\n\n\n@api_view(['GET'])\ndef project_reports(request, project_pk):\n    \"\"\"A view for displaying project specific reports.\"\"\"\n\n    project = get_object_or_404(Project, pk=project_pk)\n    reports = Report.objects.prefetch_related('formats', 'organisations')\\\n                            .filter(url__icontains='{project}')\n\n    user = request.user\n    if not user.has_perm('rsr.view_project', project):\n        return Response('Request not allowed', status=status.HTTP_403_FORBIDDEN)\n\n    is_admin = user.is_active and (user.is_superuser or user.is_admin)\n\n    if not is_admin:\n        partners_org = project.partner_organisation_pks()\n        reports = reports.filter(\n            Q(organisations=None) | Q(organisations__in=partners_org)\n        )\n\n    serializer = ReportSerializer(reports.distinct(), many=True)\n    return Response(serializer.data)\n", "path": "akvo/rest/views/report.py"}]}