avoinministerio/avoinministerio — pull request #204 by jyrkive (2012-07-31 05:46:09+00:00)
Title: Sort ideas by creation time on the main page

Currently ideas in the main page are sorted by the time of last update. It is not a good idea because it allows an idea to stay on the main page by spamming updates all the time. In addition, it looks like the updated_at timestamp is updated every time when the idea is voted and vote counters are updated, which absolutely shouldn't bring the idea to the main page.

This commit changes the ideas on the main page to be sorted by creation time, which doesn't change once the idea has been created.