Descending sort broken on /volumes start_year?

Avatar image for kickdrum
Kickdrum

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By Kickdrum

Hi everyone,

I'm very new to the API and been playing with it to learn the ropes. I ran into a problem while sorting volumes by start_year.

If I get this:

http://www.comicvine.com/api/volumes/?api_key=xxxx&field_list=name,start_year&sort=start_year:asc&filter=name:batman

it works as expected, sorting the volumes from earliest to latest. However, if I try to sort by start_year in descending order with this:

http://www.comicvine.com/api/volumes/?api_key=xxxx&field_list=name,start_year&sort=start_year:desc&filter=name:batman

I get the exact same result as before. I thought there might be something wrong with my syntax and replaced "start_year" with "id" just to see what would happen. Then it works correctly, sorting in the requested order by id. So this leads me to ask: Is the start_year sorting broken?

Thank you to anyone who might want to help :)

Avatar image for joerdie
joerdie

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I don't know if you ever found the answer you were looking for. This forum is dead as hell. Anyhoo. The reason your sort isn't working is because you cannot sort by start year. Which is crazy if you ask me. That would seem like a no brainer. But alas, no sort by start year.