[Qgis-user] Integer values ordered as text in attributes table

Carlos Cerdán sig.upagu at gmail.com
Mon Aug 1 09:35:24 PDT 2016


Hi users list, Hi developers

Just to report about strange behavior in QGIS 2.16 - Ubuntu 16.04: In
attributes table, when I try to order a field of integer values by clicking
in their header, it's ordered as a text field.

This field was created as an integer one, their values where taken from a
field with just numbers, but with text format, so in order to populate my
integer field, in field calculator i've created an integer field, with 10
digits and populated their values as: to_integer(field_T). Field_T is the
one with numbers as text. The new created field is, in fact, an integers
field, but this issue persists.

Perhaps, Does QGIS 2.16 need some adjust in this portion of code?.

Carlos Cerdán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160801/fa5602da/attachment.html>


More information about the Qgis-user mailing list