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
move categories into own database
[mygpo.git]
/
couchdb
/
general
/
_design
/
episodes
/
views
/
by_oldid
/
map.js
blob
67afe4f2737c7d5b93a5ffdb683bcd5925d5f8f8
1
function(doc)
2
{
3
if(doc.doc_type == "Episode")
4
{
5
if(doc.oldid)
6
{
7
emit(doc.oldid, null);
8
}
9
10
for(var n in doc.merged_oldids)
11
{
12
emit(doc.merged_oldids[n], null);
13
}
14
}
15
}