summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-07 20:08:47 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-07 20:08:47 +0100
commit1eb19b3028430a4f936193304d70ef5ce429492e (patch)
tree174270415c9b00d6850590f60e33840da92fa51d /archaeological_operations/forms.py
parente6bbd11555f75b8f4b290fc12c7b3783ca5dcd93 (diff)
downloadIshtar-1eb19b3028430a4f936193304d70ef5ce429492e.tar.bz2
Ishtar-1eb19b3028430a4f936193304d70ef5ce429492e.zip
Permissive search for in charge operation searches (refs #2920)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 4728980e4..5aaee4112 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -354,7 +354,7 @@ class OperationSelect(TableSelect):
choices=[])
scientist = forms.IntegerField(
widget=widgets.JQueryAutoComplete(
- reverse_lazy('autocomplete-person',
+ reverse_lazy('autocomplete-person-permissive',
args=["_".join([unicode(HEAD_SCIENTIST.pk),
unicode(SRA_AGENT.pk)])]),
associated_model=Person),
@@ -362,7 +362,7 @@ class OperationSelect(TableSelect):
in_charge = forms.IntegerField(
widget=widgets.JQueryAutoComplete(
reverse_lazy(
- 'autocomplete-person',
+ 'autocomplete-person-permissive',
args=["_".join(
[unicode(PersonType.objects.get(txt_idx='sra_agent').pk)])]
),