summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-03-01 16:42:40 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-03-01 16:42:51 +0100
commit50d10a42d0babafefc0108d8a90afab8eb6bf097 (patch)
tree999157ca04ed2f80a50e2b7aee615820d7e1c06d /archaeological_operations/forms.py
parent3debfc8570120bee6b6ae597c5de71aef3cbecce (diff)
downloadIshtar-50d10a42d0babafefc0108d8a90afab8eb6bf097.tar.bz2
Ishtar-50d10a42d0babafefc0108d8a90afab8eb6bf097.zip
Search - Operation: add "old code" search (refs #5456)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index cf63b51c4..bcc568b86 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -493,6 +493,9 @@ class OperationSelect(GeoItemSelect):
max_length=500,
widget=OAWidget,
label="Code PATRIARCHE")
+ old_code = forms.CharField(
+ max_length=200,
+ label=_("Old code"))
drassm_code = forms.CharField(
label=_("DRASSM code"), required=False, max_length=100)
towns = get_town_field()