Skip to content

Issue #2124 (BelongsTo sortable() should sort by label) labeled as implemented but not working #5575

@davide-lucchelli

Description

@davide-lucchelli
  • Laravel Version: 9.41.0
  • Nova Version: 4.19.3
  • PHP Version: 8.2.5
  • Database Driver & Version: MySql 8.0.33
  • Operating System and Version: MacOS 13.2.1
  • Browser type and version: Chrome 113.0.5672.126

Description:

Trying to sort table by a belongsto column, data is sorted using the related resource id, not the displayed label (behavior normally expected by user).
This behavior was already reported in an issue (#2124) and labeled as "implemented" but in this version is still sorting by id.

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