Source

liquid_feedback_frontend / app / main / timeline / index.lua

Diff from to

File app/main/timeline/index.lua

       local group
       if event == "draft_created" then
         group = { "grouped" }
+        tmp:add_where{"EXISTS(SELECT 1 from draft as cdraft WHERE draft.initiative_id = cdraft.initiative_id AND cdraft.id != draft.id ORDER BY cdraft.id DESC)"}
       end
 
       tmp