From b4d1927678b59991eacd34e59d4741a5da87fcc5 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 7 Nov 2016 09:41:09 +0000 Subject: [PATCH] SSDM-2597 : main search fix to use new datagrid interface. SVN: 37271 --- .../webapps/eln-lims/html/js/controllers/MainController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js index e8230103a9c..5574f1a6367 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js @@ -751,7 +751,7 @@ function MainController(profile) { } } - var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel); + var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel); localReference.currentView = dataGrid; dataGrid.init($("#mainContainer")); history.pushState(null, "", ""); //History Push State @@ -877,7 +877,7 @@ function MainController(profile) { } } - var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel); + var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel); localReference.currentView = dataGrid; dataGrid.init($("#mainContainer")); history.pushState(null, "", ""); //History Push State @@ -1048,7 +1048,7 @@ function MainController(profile) { mainController.changeView('showViewSamplePageFromPermId', e.data.permId); } - var dataGrid = new DataGridController("Search Results", columns, getDataList, rowClick, true, "SEARCH_OPENBIS"); + var dataGrid = new DataGridController("Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_OPENBIS"); localReference.currentView = dataGrid; dataGrid.init($("#mainContainer")); history.pushState(null, "", ""); //History Push State -- GitLab