From b35fddefc06d8268057b5dd43fe35d3f90d59c49 Mon Sep 17 00:00:00 2001
From: shale <sarah.hale@nasa.gov>
Date: Tue, 14 Jul 2015 09:38:44 -0700
Subject: [PATCH] [Search] Removed getObjectByID

Was no longer necissary with the current
method of search() getting objects.
---
 platform/features/search/src/SearchController.js | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/platform/features/search/src/SearchController.js b/platform/features/search/src/SearchController.js
index c622de301f..bfb5cf0b68 100644
--- a/platform/features/search/src/SearchController.js
+++ b/platform/features/search/src/SearchController.js
@@ -120,6 +120,7 @@ define(function () {
         }
 
         return {
+            // Search the database using the user input from id "searchinput"
             search: function () {
                 search2().then( function (c) {
                     $scope.results = c;
@@ -133,14 +134,6 @@ define(function () {
                 } else {
                     return false;
                 }
-            },
-            
-            getObjectByID: function (id) {
-                console.log('getObjectByID called');
-                objectService.getObjects([id]).then(function (out) {
-                    console.log('object gotten by id', out[id]);
-                    return out[id];
-                });
             }
         };
     }