Added the ability to sort #29

Merged
merged 1 commit into from Sep 23, 2011

Projects

None yet

2 participants

@mendhak
Contributor
mendhak commented Jul 30, 2011

Hi, I've added the ability to sort by date-taken, date-posted or interestingness. The default is date-posted-desc as per the flickr API documentation.

I've added a sort_by and sort_direction to the options.
I wasn't sure what naming convention you prefer, so I called the sort string 'sort_order'.

I think most people who use this option will prefer sort_by=3 and sort_direction=0 (most popular first).

@samdunn samdunn merged commit 315b683 into buildinternet:master Sep 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment