springload / madewithwagtail

A showcase of sites and apps made with Wagtail CMS, the easy to use, open source Django content management system
http://madewithwagtail.org
MIT License
84 stars 21 forks source link

Form submissions ordering is broken #48

Closed thibaudcolas closed 7 years ago

thibaudcolas commented 7 years ago

I think this has started happening when I removed a bunch of spammy submissions on the site. I thought submissions were ordered by date, from oldest to newest, but now new submissions are positioned in a seemingly erratic manner in-between old ones.

This affects both the table at http://madewithwagtail.org/admin/forms/submissions/5/ and the CSV export.

Here's the weird order on a subset of the submissions (the CSV provides a fuller picture):

madewithwagtail-submissions-order

Ideally we would want to display all submissions from most recent to oldest I think.

loicteixeira commented 7 years ago

This commit on wagtail.wagtailforms does that and has landed in Wagtail 1.7. Opening a seperate issue to upgrade Wagtail.

loicteixeira commented 7 years ago

So #65 upgrade Wagtail to 1.9 which has the fix for ordering of the submissions, only it actually order them in ascending order (i.e. new submissions are on the last page) which is not ideal but at least it's in order.

I can't think of an easy way to order this in descending order. I'm willing to consider and discuss the idea of Login for developers express in #38 which might make this irrelevant? So I'm happy to close this issue. Thoughts?

thibaudcolas commented 7 years ago

👍 latest first would be best but as far as this issue goes any ordering is good. Closing.