projets
/
auf_savoirs_en_partage_django.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2563: Corrections pour obtenir les chercheurs par région
[auf_savoirs_en_partage_django.git]
/
auf_savoirs_en_partage
/
chercheurs
/
api.py
diff --git
a/auf_savoirs_en_partage/chercheurs/api.py
b/auf_savoirs_en_partage/chercheurs/api.py
index
385c585
..
308941f
100644
(file)
--- a/
auf_savoirs_en_partage/chercheurs/api.py
+++ b/
auf_savoirs_en_partage/chercheurs/api.py
@@
-49,7
+49,7
@@
class API:
if pays is not None:
chercheurs = Chercheur.objects.filter_pays(pays)
elif region is not None:
if pays is not None:
chercheurs = Chercheur.objects.filter_pays(pays)
elif region is not None:
- chercheurs = Chercheur.objects.filter_region(regio)
+ chercheurs = Chercheur.objects.filter_region(region)
else:
return api_return(STATUS_ERROR, "Erreur dans la requete de recherche de chercheurs")
else:
return api_return(STATUS_ERROR, "Erreur dans la requete de recherche de chercheurs")