Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting column sort option to true results in sort property path set to null in column config #149

Open
Kreyu opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
pending-release Changes already merged and waiting for the next release

Comments

@Kreyu
Copy link
Owner

Kreyu commented Nov 22, 2024

Setting column sort option to true results in sort property path set to null in column config:

$builder->addColumn('name', options: ['sort' => true])->getColumn('name')->getSortPropertyPath(); // null

Instead, what is expected, that it should default to column name:

$builder->addColumn('name', options: ['sort' => true])->getColumn('name')->getSortPropertyPath(); // name
@Kreyu Kreyu self-assigned this Nov 22, 2024
@Kreyu Kreyu added the pending-release Changes already merged and waiting for the next release label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-release Changes already merged and waiting for the next release
Projects
None yet
Development

No branches or pull requests

1 participant