Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notifications sorting is wrong #30

Closed
barisusakli opened this issue Jun 21, 2013 · 1 comment
Closed

notifications sorting is wrong #30

barisusakli opened this issue Jun 21, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@barisusakli
Copy link
Member

image

@julianlam
Copy link
Member

redis 127.0.0.1:6379> zrangebyscore uid:1:notifications:read 0 10
1) "11"
2) "20"
3) "4"
4) "5"
redis 127.0.0.1:6379> hmget notifications:11 text score
1) "julian has posted a reply to: \"asdadasdasd\""
2) "5"
redis 127.0.0.1:6379> hmget notifications:20 text score
1) "baris says : test\n"
2) "5"

Looks like I may be sorting by score, but I also need to sort by timestamp prior to score sort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants