cbrain
cbrain copied to clipboard
Add default ordering for all models
In index pages, when models are ordered by a particular attributes but the attributes have values that are equal, the ordering become non-deterministic (or, if deterministic, then just not in a pleasant order). Each model should have a secondary order clause that take effect. E.g. for tasks, order by :rank then by :id. For userfiles, by :id.