summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
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
commit9678af0606a65420253db1c8ce6e2e59097bd2a5 (patch)
tree132189fe61556f0eae28a03c8973e01de4abefc0 /archaeological_operations/forms.py
parent3ef08d29609b942ef812a9dba5f473f3ba6c0333 (diff)
downloadIshtar-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.py6
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(