<div dir="ltr"><div>Hi Lingxian,</div><div><br></div><div>I am agree with you that from user's point of view it is more convenient to show execution </div><div>in the descending order (latest created execution on the top), but all other get_all methods </div><div>(for tasks, workflows, etc) return list of objects in the ascending order.</div><div><br></div><div>I prefer to have consistent behavior for all items, so if it is better to have descending order, </div><div>than let's have it for all lists, not just for one.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 4:14 AM, Lingxian Kong <span dir="ltr"><<a href="mailto:anlin.kong@gmail.com" target="_blank">anlin.kong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, guys,<br>
<br>
I found this bug[1] this morning which was fixed just now, and I have<br>
to say, it is my intention that to make the query executions result in<br>
descending order when I implemented the query pagination blueprint,<br>
which is different with workflows list result behavior. Because in<br>
user's perspective, I think it's more convinient to show the lasted<br>
execution first, right? maybe the most commonly used scenario of<br>
'execution-list' is, user creates some executions first, then he/she<br>
just wants to see what's the status of them, it‘s inconvenience for<br>
the users to scroll down the page to find their executions in<br>
ascending order, executions are more time sensitive than workflows.<br>
<br>
[1]: <a href="https://bugs.launchpad.net/mistral/+bug/1510417" rel="noreferrer" target="_blank">https://bugs.launchpad.net/mistral/+bug/1510417</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Regards!<br>
-----------------------------------<br>
Lingxian Kong<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<div>Anastasia Kuznetsova</div></div></div>
</div>