-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
"sort" funcionality of attributes table sort numeric fields as text #34935
Comments
If you have a few moment could you test to see if this https://github.com/roya0045/QGIS_1/actions/runs/68192864 solves this issue? |
or just close and reopen the table. Still a bug in the latest master. |
Still true on the latest master, also with a PostGIS table. |
Bug confirmed with Manual sorting by clicking on the field name sorts as expected, but using the Here is data for tesing and the video: |
3.10.3 and 3.12
Add the "alaska" shapefile from the QGIS sample dataset
Open the attribute table and use the "sort" function to sort the records using the "cat" field, that is of type integer.
The records will be ordered as expected.
Save the project.
Close the project and reopen it, open the attribute table > records are ordered as the "cat" column was of type text (i.e. 1,10,100,11,110,111...).
The text was updated successfully, but these errors were encountered: