Bug report #14873
attribute table sorting fails on column named "YEAR"
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
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 #: | 22826 |
Description
The attribute table sorting fails when clicking on a column named "YEAR". The same dataset with a renamed column, for e.g. "NOYEAR", will successfully sort the table.
Steps to reproduce- Create a new project, add the following dataset (http://www.licadho-cambodia.org/land_concessions/data/licadho-land-concessions-2015.zip)
- Open the attribute table
- To test that sorting is working, click on the NAME column
- Now click on the YEAR column, and notice the absence of sorting :)
History
#1 Updated by Giovanni Manghi over 8 years ago
reserved word?
#2 Updated by manelclos - over 8 years ago
Works for me using "steps to reproduce".
#3 Updated by Anonymous over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 1b905c814d443742cf0063cd88d598053351f522.