System Information
- Strapi Version: 3.3.2
- Operating System: Heruko (with AWS s3upload)
- Database: MongoDB
- Node Version: v12.18.4
- NPM Version: 6.14.6
- Yarn Version:
Let’s say I have modelA
with a ForeignKey on modelB
This allows me to sort my query and I can also filter deep relations when using
curl -X GET "http://localhost:1337/modelA?modelB.field_from_model_b=example_value
But I can’t find how to sort on modelB.some_field
.
If I write ?_sort=modelA.field,modelB.some_field:ASC'
it seems like it doesn’t do anything (besides sorting only by the modelA.field).
It looks like the deep sort is using the updatedAt
files by default, any way to change that?