From 15f9f98451e8647a8a14d9c671182e8ea348cfd9 Mon Sep 17 00:00:00 2001 From: Hadrien Froger Date: Mon, 4 Nov 2024 11:59:00 +0000 Subject: [PATCH] fixup! rejected proposals always past --- lib/decidim/geo/proposal/proposal_filter.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/decidim/geo/proposal/proposal_filter.rb b/lib/decidim/geo/proposal/proposal_filter.rb index b73c390..3cfb2fd 100644 --- a/lib/decidim/geo/proposal/proposal_filter.rb +++ b/lib/decidim/geo/proposal/proposal_filter.rb @@ -16,7 +16,6 @@ def filter_active(query) query.where( "resource_type = ? AND resource_status NOT IN ('rejected', 'withdrawn') AND (end_date >= ? OR end_date IS NULL)", manifest_name, - manifest_name, 15.days.ago.to_date ) end