Show all event columns in the object list view.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-15 05:04:28 -04:00
parent 0022548e35
commit bdfb62d2b3

View File

@@ -161,11 +161,13 @@ class ObjectEventListView(EventListView):
).dispatch(request, *args, **kwargs)
def get_extra_context(self):
return {
context = super(ObjectEventListView, self).get_extra_context()
context.update({
'hide_object': True,
'object': self.content_object,
'title': _('Events for: %s') % self.content_object,
}
})
return context
def get_object_list(self):
return any_stream(self.content_object)