#Sort by value inside Relationship

10 messages · Page 1 of 1 (latest)

silent mural
#

I'm curious that is it possible to sort the query by the value in the relationship level (not the top-level).

tacit mist
silent mural
tacit mist
#

Oh sorry I see, sort. I do not believe that is possible atm

silent mural
#

😢

#

Thank you

cosmic sleet
#

Very interesting, @silent mural you could also just have a field directly within your doc that copies over the data you want to sort. (Copy the data to the top-level)

cosmic sleet
silent mural
tacit mist
#

You could make the server sort with an after read hook, if you set and check for a query param, then sort with js. But obviously that is a workaround