diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-03 12:00:06 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-03 12:00:06 +0100 |
commit | 677bc165441d508429295f476a28a966efa2ce29 (patch) | |
tree | 26e83eb2b91f070c65714e7a3d53fb30d4cda50c | |
parent | 891931ee067d357951b91777b403662e25af1e5b (diff) | |
download | Ishtar-677bc165441d508429295f476a28a966efa2ce29.tar.bz2 Ishtar-677bc165441d508429295f476a28a966efa2ce29.zip |
Administrativ act register: allow filter by no indexed acts
-rw-r--r-- | archaeological_operations/forms.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 06c6585d8..4728980e4 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1009,7 +1009,6 @@ class AdministrativeActOpeSelect(TableSelect): for dpt in settings.ISHTAR_DPTS] - class AdministrativeActOpeFormSelection(forms.Form): form_label = _("Administrative act search") associated_models = {'pk': models.AdministrativeAct} @@ -1126,8 +1125,7 @@ class AdministrativeActRegisterSelect(AdministrativeActOpeSelect): def __init__(self, *args, **kwargs): super(AdministrativeActRegisterSelect, self).__init__(*args, **kwargs) - self.fields['act_type'].choices = models.ActType.get_types( - dct={'indexed': True}) + self.fields['act_type'].choices = models.ActType.get_types() self.fields['act_type'].help_text = models.ActType.get_help() |