-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly omitting design documents seems to propagate deletions pro…
…perly Also omit replication of config document. Allow all other documents to be changed, even if they have a totally different structure than einnahmen and ausgaben.
- Loading branch information
Christian Kellermann
authored and
Christian Kellermann
committed
Nov 2, 2010
1 parent
e5a51d5
commit 4b92664
Showing
2 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,6 @@ | |||
function(doc, req) { | function(doc, req) { | ||
if (doc.type && (( doc.type == "einnahme") || (doc.type == "ausgabe") || (doc.type == "config"))){ | if ( doc._id.match('_design/(.*)') || ( doc.type && doc.type == "config")){ | ||
return true; | |||
} else { | |||
return false; | return false; | ||
} | } | ||
return true; | |||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters