diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-30 19:19:38 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-30 19:19:38 +0100 |
| commit | bdd55f876e2abc40eb76ad791046149acbe95e3f (patch) | |
| tree | ed0a68d93749184ad943bc17b650767cfe82a2e7 /ishtar/furnitures/views.py | |
| parent | ff12291c25bc3dcaf056a872ef3bd0389da2ef75 (diff) | |
| download | Ishtar-bdd55f876e2abc40eb76ad791046149acbe95e3f.tar.bz2 Ishtar-bdd55f876e2abc40eb76ad791046149acbe95e3f.zip | |
SRA Agent can be incharge of an operation (closes #145)
Diffstat (limited to 'ishtar/furnitures/views.py')
| -rw-r--r-- | ishtar/furnitures/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar/furnitures/views.py b/ishtar/furnitures/views.py index 041ebfb76..591ead231 100644 --- a/ishtar/furnitures/views.py +++ b/ishtar/furnitures/views.py @@ -70,6 +70,7 @@ def autocomplete_person(request, person_type=None): for q in q.split(' '): query = query & (Q(name__istartswith=q) | Q(surname__istartswith=q) | \ Q(email__icontains=q)) + print person_type if person_type: try: typs = [int(tp) for tp in person_type.split('_') if tp] |
