diff options
Diffstat (limited to 'ctrack/organisations/views.py')
-rw-r--r-- | ctrack/organisations/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/organisations/views.py b/ctrack/organisations/views.py index 76057bb..a1f43f7 100644 --- a/ctrack/organisations/views.py +++ b/ctrack/organisations/views.py @@ -122,7 +122,8 @@ class OrganisationDetailView(PermissionRequiredMixin, DetailView): ) for person in peoples ] - _all = list(itertools.chain(list(itertools.chain.from_iterable(_sdes)))) + _all = list(itertools.chain.from_iterable(_sdes)) + _all = set(_all) flat_sdes = sorted(_all, key=lambda e: e.date, reverse=True) for x in flat_sdes: if isinstance(x, NoteEvent): |