From 587efaeaeda4fd42b6a8123e7930f260fba45de9 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 1 Feb 2016 15:52:39 +0100 Subject: [PATCH] diplay all old testimonials --- teleforma/views/pro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index 6ffd6c03..fcdaa176 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -726,7 +726,7 @@ class TestimonialListView(ListView): testimonials = Testimonial.objects.filter(user=user) for testimonial in testimonials: seminar = testimonial.seminar - if seminar_validated(user, seminar) and get_seminar_delta(user, seminar) >= 0: + if seminar_validated(user, seminar) and (get_seminar_delta(user, seminar) >= 0 or testimonial.date_added <= REVISION_DATE_FILTER): t.append(testimonial) return t -- 2.39.5