Bug #13763

Updated by Tom Clegg about 2 years ago

Currently if a groups#contents request specifies @order=[name]@, the response will be ordered

<pre>
type=group name=foo1
type=group name=foo3
type=collection name=foo2
type=collection name=foo4
</pre>

The response should be ordered

<pre>
type=group name=foo1
type=collection name=foo2
type=group name=foo3
type=collection name=foo4
</pre>

Nonexistent columns should be sorted as "greater than null". For example, with @order=["groups.group_class", "users.first_name desc", "uuid"]@, the order of returned items should be
# groups with non-null group_class (sorted by group_class)
# groups with null group_class (sorted by uuid)
# users with null first_name (sorted by uuid)
# users with non-null first_name (sorted by descending first_name)
# container requests (sorted by uuid)

Back