Summary: | Tags API descending order |
Description: | Currently when you query the API for a list of tags you cannot change the sorting direction - it is always ascending.
For example if you go: http://gelbooru.com/index.php?page=dapi&s=tag&q=index&order=count
You get a list a pretty useless list of tags that are only used for 1 post.
The default behavior should be to display the results in descending order.
The fix is probably as easy as adding DESC to the ORDER BY clause. |
Additional Info: | Danbooru has the requested functionality, and it makes getting a list of the most commonly used tags for the site a very easy task. |