Merge branch 'dev', remote-tracking branch 'origin' into masse_salariale_jp
[auf_rh_dae.git] / project / rh / views.py
index 9f7d178..0a29c1f 100644 (file)
@@ -154,7 +154,7 @@ def rapports_contrat(request):
 
     contrats = rh.Contrat.objects.select_related('dossier', 'dossier__poste', 'dossier__poste__implantation', 'type_contrat', 'dossier__employe')
 
-    cl = RechercheTemporelle(request, rh.Contrat)
+    cl = RechercheTemporelle(dict(request.GET.items()), rh.Contrat)
     lookup_params = cl.purge_params(lookup_params)
     contrats = contrats.filter(**lookup_params).exclude(dossier__employe__supprime=1)
     contrats = cl.filter_temporel(contrats)