Close #45 - remove the node describing the research
authorrougeronj
Mon, 02 Feb 2015 12:47:31 +0100
changeset 438 e9d8f42cd664
parent 437 8269c74d9aa0
child 439 23062d01db3d
Close #45 - remove the node describing the research
src/hdalab/views/profile.py
--- a/src/hdalab/views/profile.py	Mon Feb 02 12:40:31 2015 +0100
+++ b/src/hdalab/views/profile.py	Mon Feb 02 12:47:31 2015 +0100
@@ -540,21 +540,6 @@
                     #"created_by": "de68xf75y6hs5rgjhgghxbm217xk"
                 })
         
-        # Add search node
-        content["nodes"].append({
-          "id": unicode(uuid.uuid1()),
-          "title": title,
-          "description": "",
-          "uri": reverse("facettes") + "?" + request.META['QUERY_STRING'],
-          "position": np.get_place("northwest"),
-          "image": "",
-          "size": 0,
-          "project_id": project_id,
-          "color": None,
-          #"created_by": "roster_user-84fe909f-ba37-48e6-a25f-9d2f129a95b7",
-          "shape": "circle"
-        })
-        
         response = json.dumps(content)
         
         return HttpResponse(response, content_type="application/json")