mmikkel / CpSortableCustomColumns-Craft

Adds custom fields to sortable attributes in element indexes
41 stars 5 forks source link

Not working with categories or entry types? #1

Closed bossanova808 closed 8 years ago

bossanova808 commented 8 years ago

If I am reading the docs right, this should work for sort by entry types? I am not seeing this work.

It appears to work, I get a spinner etc, but the resulting list is not sorted.

2016-02-08_15-27-35

I am not sure if categories are supported at all, but the docs do mention entry types.

Any tips?

mmikkel commented 8 years ago

Hi @bossanova808, thanks for reporting! The issue with Entry Types should be fixed in v. 1.0.2, which I just pushed.

Unfortunately, Craft doesn't actually support sorting the index tables on relational fields (Categories, Entries, Tags etc), so I'll have to close the Categories issue as a wontfix for now, sorry.

bossanova808 commented 8 years ago

No probs re: categories and many thanks for the fix, will try it out tomorrow!