Revision 88305cf0 snf-astakos-app/astakos/im/forms.py

b/snf-astakos-app/astakos/im/forms.py
596 596
    q = forms.CharField(max_length=200, label='Search group')
597 597

  
598 598
class TimelineForm(forms.Form):
599
    entity = forms.CharField(
600
        widget=forms.HiddenInput(), label='')
599
#    entity = forms.CharField(
600
#        widget=forms.HiddenInput(), label='')
601
    entity = forms.ModelChoiceField(
602
        queryset=AstakosUser.objects.filter(is_active = True)
603
    )
601 604
    resource = forms.ModelChoiceField(
602 605
        queryset=Resource.objects.all()
603 606
    )
......
619 622
            d['start_date'] = d['start_date'].strftime("%Y-%m-%dT%H:%M:%S.%f")[:24]
620 623
        if 'end_date' in d:
621 624
            d['end_date'] = d['end_date'].strftime("%Y-%m-%dT%H:%M:%S.%f")[:24]
625
	if 'entity' in d:
626
            d['entity'] = d['entity'].email 
622 627
        return d
623 628

  
624 629
class AstakosGroupSortForm(forms.Form):

Also available in: Unified diff