I have a content type named "News" which contains a node reference field named "Related News" in autocomplete mode. Does anyone knows how to sort the results when i write something? I need to get the most recent nodes.

Thank you!


You should use views entity reference widget.you can custom you result like want you want.

this link is good tutorial for you achieve your job.I hope learn it and use it in future project and issues.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.