Announcement

Collapse
No announcement yet.

Alias when showing linked entity in list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alias when showing linked entity in list

    Hi,
    I was wondering whether it was already possible to replace the "Name" of the linked entity by another of its fields, when displaying the linked entity in the list of another entity?

    For example, if Manager is linked to Employee in one-to-many, I would like to display, for the sake of the example, the ManagerID (a field of Manager) instead of the manager's name, in the list of Employees.

    You know, like PhpMyAdmin does allow to replace the primary key by one of the fields of the foreign table within the insert forms and all.

    But it would be even better if depending on the relationship, one could actually specify different "reference" field.
    For example, the Employee list would in fact show the Manager's name, but the Human Resources list would show the Manager ID. Something like that.

    Thanks.
Working...
X