When entering text into linked fields, I’ve noticed that Frappe sometimes searches through just the ID of the linked document but sometimes other relevant fields. For example, notice that the Sales Invoice doctype will search through Customer Name when linking a Customer document:
…but Program Enrollment does not search Student Name when linking a Student document:
Where is this functionality determined?