Skip to content
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.

Commit

Permalink
[#840] Made some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0chin committed Jun 20, 2017
1 parent dd4f37e commit 44cf88f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions databases/multicoursecareerpath.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
var couchapp = require('couchapp'),
path = require('path');

ddoc = {
_id: '_design/bell'
}

ddoc.views = {
GetMultiCourseCareerById: {
map: function(doc) {
if (doc._id ) {
emit(doc._id, doc);
}
}
},
GetCourseCareerByName: {
map: function(doc) {
if (this.CoursePathName!= "") {
emit([doc.CoursePathName], doc);
}
}
},
}
module.exports = ddoc;

0 comments on commit 44cf88f

Please sign in to comment.