Skip to content

Commit

Permalink
#148 proposals roordering
Browse files Browse the repository at this point in the history
remove debug prints
  • Loading branch information
akdasa committed Jan 27, 2018
1 parent 97625f4 commit d3cfa17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions gem/web/blueprints/sessions/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ def _extend(self, model):
d = proposals.find({"_id": {"$in": model.get("proposals", [])}})
rp = {str(key["_id"]): key for key in d}
result_proposals = list(map(lambda x: rp.get(str(x), None), model.get("proposals", [])))
print("D", d)
print("RP", rp)
print("Result Proposals", result_proposals)

role_docs = roles.all()
result_roles = map(lambda x: x["name"], role_docs)
Expand Down
2 changes: 1 addition & 1 deletion gem/web/blueprints/sessions/sessions_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function createSessionsController() {

me.refreshProposalsList = function() {
var ids = me.proposals.map(function (i) { return i["_id"] });

var html = me.proposalsTemplate({
proposals: controller.proposals,
empty: "No proposals added to session",
Expand Down

0 comments on commit d3cfa17

Please sign in to comment.