This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

kubuss8822438
kubuss8822438

Hi,

I have in my columns.yaml something like this:

rate:
        label: Users Rate
        type: text
        valueFrom: rate
        sortable: false
        width: 140px

And I would like it to be sortable. However valueFrom: rate points to getRateAttribute() function in model. So it ends up with an SQL error. Is there any way to sort list not with SQL query but only with text value?

Last updated

borisproano28965
borisproano28965

Did you find a solution? I'm trying to do the same

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.