Actions
Bug #6240
open[API] "order" params should be rejected or used (not silently ignored) even when they reference columns missing from the "select" param
Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
0.5
Description
Works:
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
Silently ignores given order:
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
Actions