Managing order of displayed items in using defaultOrdering and individual schema ordering.

6 replies
Last updated: Dec 16, 2020
Hi, I wonder if it is possible to use and manage order of displayed items??We can use
filter and params to specify elements but what about order of them ...? Lets have items and for each of them display list of tags (other document) they have referenced, but keep order of this references? Is it possible?
Dec 2, 2020, 9:54 AM
Dec 2, 2020, 12:28 PM
user Y
i wont order by filed from tag like name but in order of tags in parent - not sure if this is possible by defaultOrdering cause there must be specified a field and desc/asc ....?
Dec 2, 2020, 3:13 PM
user F
i also have this problem, let me know if you find a solution!
Dec 2, 2020, 10:40 PM
user Y
your link gives a
Dec 16, 2020, 10:32 AM
Btw, I actually found the
property on individual schemas to solve this in a better way for me
Dec 16, 2020, 10:57 AM
Also, the link above doesn’t give 502 anymore 😌 Thanks for the quick fix!
Dec 16, 2020, 10:57 AM

Sanity– build remarkable experiences at scale

The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in