repo.or.cz
/
mygpo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
directory implement rolling categories
[mygpo.git]
/
couchdb
/
_design
/
categories
/
views
/
by_update
/
map.js
blob
5a77f163bf720c44aa3965dd678609e7e4a6c4db
1
function (doc)
2
{
3
if (doc.doc_type == "Category")
4
{
5
if(doc.updated && (doc.podcasts.length > 10))
6
{
7
emit(doc.updated, null);
8
}
9
}
10
}
11