Replies: 1 comment
-
Hello. Do you try to clear the sortField property? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
v6.5
Livewire version
v3.6
Laravel version
v12.24
Which PHP version are you using?
PHP 8.3
Which Theme are you using?
Tailwind
Have you published the resource files and customized them? (php artisan vendor:publish)
Yes
What is the problem?
The package sorts data based on
and does not care about the query that fetched data from the database
In Laravel I use a package in my vendor to fetch languages. The query order by is not simple, and there are some conditions in the query
If the status, state of languages are same, the query sorts the data based on priority
But in this picture, the data sorted by id by the powergrid package
I think the package must not sorting data by default or if there is a boolean property that disables or enables the sorting
Code snippets
How do you expect it to work?
enable or disable the sorting by id or not sorting at all
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions