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

chris10207
chris10207

How is it possible to sort by 2 column in a backend list, lets say i want to sort the post by created_at then by name ?

the doc http://octobercms.com/docs/backend/lists seems to talking about it

defaultSort     : sets a default sorting column and direction when user preference is not defined. Supports a string or an array with keys column and direction.

but i dont see how to put an array into an yaml file.

michael11024
michael11024

Unfortunately that's not yet implemented :(

oliver63178
oliver63178

Does multiple column work with defaultSort now?

1-3 of 3

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