[QGIS-Developer] Sort order for Value Map widget values
Tim Sutton
tim at kartoza.com
Fri Mar 22 08:21:57 PDT 2019
Hi
> On 22 Mar 2019, at 15:04, Andreas Neumann <a.neumann at carto.net> wrote:
>
> Hi,
>
> The alternative (workaround) is to put your values in another table and link them through a shared key. Then the sorting works fine. Also the relation reference widget (which requires a relation) sorts values fine.
>
>
Yeah I tried that, the problem is I want to reference the lookup list from the same table:
Flowering_month -> months table
Fruiting_month -> months table
Pruning_month -> months table
If I try to use the relation system for that the months table is removed as a relatable table after it has been used once (another bug maybe)?
> Of course this doesn't mean the bug in the value map shouldn't be fixed. You can ask a developer familiar with the widgets (e.g. Matthias or someone else familiar with the widgets) to fix it, as part of our bug fixing program.
>
>
Yeah it would db great if you could fix that next time you are doing paid bug fixing @mathias - seems like a basic thing that should ‘just work’.
Thanks for the replies Giovanni and Andreas.
Regards
Tim
> Greetings,
>
> Andreas
>
>
>
> Am 22.03.19 um 15:26 schrieb Giovanni Manghi:
>>
>> I am using a value map lookup to let the user select a month on a form. I used the ‘Load Data from Layer option and the months are displayed in a somewhat random looking order. Is there any trick to getting the values to display in ascending order of the key? Or is this a bug?
>>
>> Hi Tim,
>> is a long standing bug.
>>
>> cheers!
>>
>> -- G --
>>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>_______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org
Visit http://kartoza.com <http://kartoza.com/> to find out about open source:
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190322/2c745042/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190322/2c745042/attachment-0001.jpg>
More information about the QGIS-Developer
mailing list