1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +03:00

Fix ZRevRangeByScoreWithScores to return scores.

This commit is contained in:
blaxill
2013-06-24 19:33:39 +02:00
committed by Vladimir Mihailenco
parent c955223298
commit 45e45f8422
2 changed files with 47 additions and 1 deletions

View File

@ -928,7 +928,7 @@ func (c *Client) ZRevRangeByScore(key, start, stop string, offset, count int64)
}
func (c *Client) ZRevRangeByScoreWithScores(key, start, stop string, offset, count int64) *StringSliceReq {
return c.zRevRangeByScore(key, start, stop, false, offset, count)
return c.zRevRangeByScore(key, start, stop, true, offset, count)
}
func (c *Client) ZRevRangeByScoreWithScoresMap(