filtre sur RH modif
[auf_rh_dae.git] / project / rh / historique.py
index 2d58d86..176d708 100644 (file)
@@ -61,6 +61,7 @@ def get_active_revisions():
             ModificationTraite.objects.all()]
     return format_revisions(
             Revision.objects.
+                filter(version__content_type__app_label="rh").
                 exclude(user__isnull=True).
                 exclude(id__in=ids_revisions_traitees).
                 order_by('-date_created'))