couchbaselabs/TouchDB-Android — pull request #15 by alexanderedge (2012-04-09 18:50:16+00:00)
Title: Changed JSON query response order

As mentioned in the Google Group, Ektorp has a problem converting the query response to objects using CouchDbRepositorySupport.

I have noticed that the order of the JSON fields is different between TouchDB-Android and Couchbase Single Server, which works without any issues.

Therefore, I have changed the order in which the fields are sent, and this now works. Hence the pull request.

It does seem strange that the order matters - I would think that this is a bug in Ektorp rather than TouchDB-Android.

Anyway, do with this what you will.

Alex