Bug report #6715

attribute table: negative numbers and nulls do not sort as expected

Added by Alister Hood about 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15880

Description

Load the attached shape file.
Open the attribute table and click on the column header to try to sort by "id".
Click on it again.
Why are the negative numbers and the nulls jumbled up?
Is this an issue with QGIS or with one of the underlying libraries?

test_sorting.zip (1.37 KB) Alister Hood, 2012-11-15 11:51 PM

Associated revisions

Revision 55e34090
Added by Jürgen Fischer almost 12 years ago

attribute table: NULL values are considered less than other values (fixes #6715)

History

#1 Updated by Giovanni Manghi about 12 years ago

  • Status changed from Open to Feedback

in all the tickets you have files lately, the tests have been made on master or qgis 1.8 or both?

#2 Updated by Alister Hood about 12 years ago

Only master.

#3 Updated by Alister Hood about 12 years ago

OK, I'm testing in 1.8 now.
This one is the same in 1.8.

#4 Updated by Jürgen Fischer almost 12 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF