Skip to content

Commit

Permalink
fix(accesses): hotfix 3.17.6 to get manageable perimeters
Browse files Browse the repository at this point in the history
  • Loading branch information
Hicham committed Jan 29, 2024
1 parent 82ccb34 commit 85a4936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accesses/views/perimeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_manageable_perimeters(self, request, *args, **kwargs):
manageable_perimeters_children = reduce(lambda qs1, qs2: qs1.union(qs2),
[perimeters_service.get_all_child_perimeters(perimeter=p)
for p in manageable_perimeters])
manageable_perimeters = manageable_perimeters.union(manageable_perimeters_children)
manageable_perimeters = manageable_perimeters | manageable_perimeters_children
manageable_perimeters = self.filter_queryset(queryset=manageable_perimeters)
return Response(data=PerimeterLiteSerializer(manageable_perimeters, many=True).data,
status=status.HTTP_200_OK)
Expand Down
2 changes: 1 addition & 1 deletion admin_cohort/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'Portail/Cohort360 API'
__version__ = '3.17.5'
__version__ = '3.17.6'
__author__ = 'Assistance Publique - Hopitaux de Paris, Département I&D'


Expand Down

0 comments on commit 85a4936

Please sign in to comment.