forked from ella/ella
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patching
RedisListingHandler.get_listings()
to pass the correct `co…
…unt` value to `zrevrangebyscore()`. zrevrangebyscore expects `num` to be the number of results you want it to return - not the "end" value of a slice. Adding unit tests for the changes as well.
- Loading branch information
Sean Coonce
committed
Nov 30, 2012
1 parent
943c6aa
commit cabe6a5
Showing
2 changed files
with
123 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters