Mercurial > hg > Feedworm
changeset 188:e26210be221f
emit the feedEntries sorted by feed and by update date so they come out sorted
author | dirk |
---|---|
date | Wed, 14 Sep 2011 00:17:01 +0200 |
parents | 2f2016a10f7d |
children | e5d492595bdb |
files | backend/couchdb/CouchApp/feedworm/views/feedEntries_by_feed/map.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/couchdb/CouchApp/feedworm/views/feedEntries_by_feed/map.js Tue Sep 13 17:52:36 2011 +0200 +++ b/backend/couchdb/CouchApp/feedworm/views/feedEntries_by_feed/map.js Wed Sep 14 00:17:01 2011 +0200 @@ -2,6 +2,6 @@ { if (doc.doctype == "feedEntry") { - emit(doc.feed, doc) + emit([doc.feed, doc.updated], doc) } }