Fix bug when POST'ing filter form data to edit schedule page

This commit is contained in:
Lance Edgar 2016-10-12 14:26:59 -05:00
parent 048951153d
commit e57757d44b

View file

@ -60,6 +60,9 @@ class ScheduleView(TimeSheetView):
if uuid:
data[field][uuid] = self.request.POST[key]
# if no fields, don't apply changes (filter form uses POST also)
if any(data.itervalues()):
# apply delete operations
deleted = []
for uuid, value in data['delete'].iteritems():