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.

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.

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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to