Skip to content

How to sort a foreign key column? #24

@venteto

Description

@venteto

One of the fields in my object list is a foreign key to another model, and currently that column gets sorted in the template by the foreign key model's primary key id field, rather than the charfield which is actually displayed in the template.

Not sure if I am doing something incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions