symphonycms/symphonycms

Sort by multiple columns

Opened this issue · 3 comments

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?

It's not supported by Symphony.

@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?

@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