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

Matthias Kuhn matthias at opengis.ch
Mon Aug 1 09:43:06 PDT 2016


Hi Carlos,

I fixed this 4h ago and added a regression test so this never happens again.

Just wait for the next point release or use an upcoming nightly build.

Best regards Matthias

On 01/08/16 18:35, Carlos Cerdán wrote:
> 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
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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


More information about the Qgis-user mailing list