Same as term references, node reference fields are sorted occording to the nid, and not the node name.
What we should do to sort by nid :
Since the course field is an entity reference the sort would be working on the node id and not the node name. can you check this.
- Go to advanced, add a relationship to the content type ( displayed as Content; My content type (field_my_content_type) )
- Go back to that views field configuration (Or create sort criteria Content: Title) and select the relationship from the drop down.
- Go the the format settings and make the new field sortable.
It's tactful for a simple title field sort :/ But good luck !!
Aucun commentaire :
Enregistrer un commentaire