foxmask / Booster

Booster of Jelix.Org : The Jelix repository of apps, modules, plugins, and language packs - roadmap
http://booster.jelix.org
4 stars 3 forks source link

Sort by date desc #16

Closed foxmask closed 12 years ago

foxmask commented 13 years ago

Todo in all the lists of items : sort on date desc, but on the version date, otherwise, new version will not raise the items on top of the list. Currently do a sort ASC.

foxmask commented 12 years ago

This should do the trick to avoid a lot of line of PHP :-)

Then in the boo_items.dao, add a sort on date_version if exists or on "created";

foxmask commented 12 years ago

this trigger is too permissive because it will be triggered not just for one moderation task but for each insert .

So i've handled that behavior by hand