Sorting still a bit weird?
Issue #23
resolved
curl -v "http://api.welovepublicservice.se/v1/category/24/?full=true&order_by=title" | jsonlint -f >barn.json
It seems it's mostly in order by not completely. Sorting on -title does not make any difference. In fact not sorting at all yields the same result.
Comments (3)
-
repo owner -
reporter Exactly what I was looking for. Thanks :-)
-
reporter - changed status to resolved
Fixed differently
- Log in to comment
The order_by query string just sorts the endpoint you are currently browsing, not the children to that, but I can see how that would be helpful.
Otherwise you could just ask the /show/ endpoint and filter by category AND sort by title, http://api.welovepublicservice.se/v1/show/?category=24&full=false&order_by=title Would this work for you?
I should maybe start writing some docs I guess ;-)