Sort by multiple columns
Opened this issue · 3 comments
jensscherbl commented
I guess I'm just overlooking something, as this is pretty much standard functionality, but how can I order data source results by multiple columns? Like ORDER BY date ASC, title ASC
?
brendo commented
It's not supported by Symphony.
jensscherbl commented
@brendo Any way to hack it in? Or is this a more complex issue? Is there a common (non-xsl) workaround that's usable with pagination?
nitriques commented
@jensscherbl I would also be interested in this feature.
But it would also require touching the EntryManager class: https://github.com/symphonycms/symphony-2/blob/master/symphony/lib/toolkit/data-sources/class.datasource.section.php#L511-L522