diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-06-06 16:26:25 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-06-06 16:26:25 +0200 |
commit | 9678af0606a65420253db1c8ce6e2e59097bd2a5 (patch) | |
tree | 132189fe61556f0eae28a03c8973e01de4abefc0 /archaeological_operations/forms.py | |
parent | 3ef08d29609b942ef812a9dba5f473f3ba6c0333 (diff) | |
download | Ishtar-9678af0606a65420253db1c8ce6e2e59097bd2a5.tar.bz2 Ishtar-9678af0606a65420253db1c8ce6e2e59097bd2a5.zip |
🗃️ operation: operator_reference 20 -> 200 character - add operator_reference search criteria (refs #5965)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index b37bed988..6b0959a91 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -531,8 +531,8 @@ class OperationSelect(GeoItemSelect): args=[organization_type_pks_lazy(['operator'])]), associated_model=Organization), validators=[valid_id(Organization)]) - # operator_reference = forms.CharField(label=_("Operator reference"), - # max_length=20) + operator_reference = forms.CharField(label=_("Operator reference"), + max_length=200) remains = forms.ChoiceField(label=_("Remains"), choices=[]) periods = forms.ChoiceField(label=_("Periods"), choices=[]) start_before = DateField(label=_("Started before")) @@ -772,7 +772,7 @@ class OperationFormGeneral(CustomForm, ManageOldType): associated_model=Organization, new=True), validators=[valid_id(Organization)], required=False) operator_reference = forms.CharField(label=_("Operator reference"), - required=False, max_length=20) + required=False, max_length=200) in_charge = forms.IntegerField( label=_("Scientific monitor"), widget=widgets.JQueryAutoComplete( |