Maybe your start key and end key are around the wrong way for descending order?
On Thu, Jun 18, 2009 at 10:46 AM, Ross Bates<[email protected]> wrote: > Hi All - I have a view that uses an array for it's key. I want to select by > the first value and sort by the second in descending order (it sorts > properly in ascending order by default) > > I'm using this syntax to select the rows and everything works fine > > http://couch:5984/msg_db/_view/views/msg_by_tag_date?startkey=[%22Tag%22]&endkey=[%22Tag%22,{}] > > but when I add the descending parameter like this: > > http://couch:5984/msg_db/_view/views/msg_by_tag_date?descending=true&startkey=[%22Tag%22]&endkey=[%22Tag%22,{}] > > couch.log indicates a 200 but I get 0 rows back. > > Is what am I trying to do possible? > > Thanks for any help! > > -Ross >
