diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-17 03:08:34 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-17 03:09:26 +0100 | 
| commit | e26128e88686147902a6e6924f5814c020b79c93 (patch) | |
| tree | d2fadde70f9c34140645e727de33bfa92bd31bf1 /archaeological_files/forms.py | |
| parent | 8ff1f575f36dc67d40d6f50f18ddea334a03dd22 (diff) | |
| download | Ishtar-e26128e88686147902a6e6924f5814c020b79c93.tar.bz2 Ishtar-e26128e88686147902a6e6924f5814c020b79c93.zip  | |
Search files: add activ criteria on search (refs #1405)
Diffstat (limited to 'archaeological_files/forms.py')
| -rw-r--r-- | archaeological_files/forms.py | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index fcc62b39d..bd0d246f2 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -52,6 +52,7 @@ class FileSelect(TableSelect):      saisine_type = forms.ChoiceField(label=_("Saisine type"), choices=[])      year = forms.IntegerField(label=_("Year"))      parcel = ParcelField(label=_("Parcel (section/number)")) +    end_date = forms.NullBooleanField(label=_(u"Is active?"), initial=True)      def __init__(self, *args, **kwargs):          super(FileSelect, self).__init__(*args, **kwargs)  | 
