alfortville: mark as seen all info items

This commit is contained in:
Frédéric Péters 2016-03-30 13:37:05 +02:00
parent 642aac28ed
commit 813ca76dca
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class MailTable(TemplateView):
return context
def post(self, request, *args, **kwargs):
Inbox.objects.filter(id__in=request.POST.getlist('object-pk')).update(done=True,
Inbox.objects.filter(source_pk__in=request.POST.getlist('object-pk')).update(done=True,
comments=request.POST.get('comments'))
return HttpResponseRedirect('.')