Events View: "Main Participants" column does not (#1075)

show the full list of participants when expanded.

Fixes #11805
This commit is contained in:
Serge Noiraud 2020-08-10 22:08:51 +02:00 committed by GitHub
parent 8172e1017e
commit 04c1dc8503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,8 @@ class EventModel(FlatBaseModel):
handle = data[0] handle = data[0]
cached, value = self.get_cached_value(handle, "PARTICIPANT") cached, value = self.get_cached_value(handle, "PARTICIPANT")
if not cached: if not cached:
value = get_participant_from_event(self.db, data[COLUMN_HANDLE]) value = get_participant_from_event(self.db, data[COLUMN_HANDLE],
all_=True) # all participants
self.set_cached_value(handle, "PARTICIPANT", value) self.set_cached_value(handle, "PARTICIPANT", value)
return value return value