Bug #6240

Updated by Tom Clegg over 5 years ago

Works:

<pre>
tomclegg@shell.4xphq:~$ arv -s collection list --order 'created_at desc' --limit 2
4xphq-4zz18-dlgfut054qerwrz
4xphq-4zz18-cyfxpfhi4hfdf5u
tomclegg@shell.4xphq:~$ arv -s collection list --order 'created_at asc' --limit 2
4xphq-4zz18-0h10cbbqzuqx2ij
4xphq-4zz18-1nksjinjkpy3sja

tomclegg@shell.4xphq:~$ arv -s collection list --select '["uuid","created_at"]' --order 'created_at desc' --limit 2
4xphq-4zz18-dlgfut054qerwrz
4xphq-4zz18-cyfxpfhi4hfdf5u
tomclegg@shell.4xphq:~$ arv -s collection list --select '["uuid","created_at"]' --order 'created_at asc' --limit 2
4xphq-4zz18-0h10cbbqzuqx2ij
4xphq-4zz18-1nksjinjkpy3sja
</pre>

Silently ignores given order:

<pre>
tomclegg@shell.4xphq:~$ arv -s collection list --select '["uuid"]' --order 'created_at desc' --limit 2
4xphq-4zz18-004t28r3og3bodi
4xphq-4zz18-00jz1ybalavvh5y
tomclegg@shell.4xphq:~$ arv -s collection list --select '["uuid"]' --order 'created_at asc' --limit 2
4xphq-4zz18-004t28r3og3bodi
4xphq-4zz18-00jz1ybalavvh5y
</pre>

Back