super-table icon indicating copy to clipboard operation
super-table copied to clipboard

Can't order by an entry field title

Open goraxan opened this issue 1 year ago • 2 comments

Describe the bug

Is it possible to order supertable blocks by the title of an entry field?

First I've tried to do entry.ffE.orderBy('material.title').all() but I get an error saying Unknown column 'material.title' in 'order clause' which makes sense since it's not in the query. I've also tried to eager load the material field and see if I can filter by the column without luck.

image

Any ideas? Thanks

Steps to reproduce

Add an entry field into a super table field and try to order by it

Craft CMS version

4.3.6.1

Plugin version

3.0.7

Multi-site?

No response

Additional context

No response

goraxan avatar Mar 06 '23 13:03 goraxan