<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>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.</p>
<p>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.</p>
<p>Greetings,</p>
<p>Andreas<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 22.03.19 um 15:26 schrieb Giovanni
Manghi:<br>
</div>
<blockquote type="cite"
cite="mid:CACfnYnQs+Y_7w8=yv4TRTc7QN-qqaEoFe-DzcunzjVuNQpgzaw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
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?<br>
</blockquote>
<div><br>
</div>
<div>Hi Tim,</div>
<div>is a long standing bug.</div>
<div><br>
</div>
<div>cheers!</div>
<div><br>
</div>
<div>-- G --<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
</body>
</html>