Bug report #12434
Wrong order in table
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Attribute table | ||
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 #: | 20605 |
Description
- open a table
- click twice on numeric column head (order by DESC)
- select several rows
- click on Move selection to top
The selection is moved to bottom instead.
Associated revisions
attribute: also put selected item on top if sorting descending (fixes #12434)
attribute: also put selected item on top if sorting descending (fixes #12434)
(cherry picked from commit d3c4da0b66f70efdf0b2fcff4075395686f72203)
History
#1 Updated by Giovanni Manghi over 9 years ago
- Category changed from Vectors to Attribute table
- Status changed from Open to Feedback
cannot confirm on master.
#2 Updated by Paolo Cavallini over 9 years ago
Could you confirm it on 2.8 branch? If yes, fix should be identified and backported; if not, it should be confirmed it is not a local problem (which is unlikely, as I tested both on Debian Sid and on various Windows). Are you sure you have set the order DESC?
#3 Updated by Harrissou Santanna over 9 years ago
I can confirm here. (osgeo4w 64bits 2.8.1, rel-dev and master)
But the sorted out field doesn't need to be a numeric one. Once there is DESC sorting, the selected rows are put at the bottom of the table (and the selected rows are also sorted out according to the DESC option).
#4 Updated by Giovanni Manghi over 9 years ago
- Status changed from Feedback to Open
- Affected QGIS version changed from 2.8.1 to master
#5 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset d3c4da0b66f70efdf0b2fcff4075395686f72203.