From 6ec31572bb6cdbe89b8d812f9b06193c106141e8 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 4 Jan 2017 09:44:47 +0000
Subject: [PATCH] SSDM-4552 : Global search sort by identifier and type
 disabled, don't makes sense.

SVN: 37548
---
 .../html/js/views/AdvancedSearch/AdvancedSearchView.js        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
index 9ac8ea250ac..efad134ca11 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
@@ -452,7 +452,7 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) {
 				label : 'Entity Type',
 				property : 'entityType',
 				isExportable: true,
-				sortable : true
+				sortable : !isGlobalSearch
 			}, {
 				label : 'Name',
 				property : 'NAME',
@@ -477,7 +477,7 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) {
 				label : 'Identifier',
 				property : 'identifier',
 				isExportable: true,
-				sortable : true,
+				sortable : !isGlobalSearch,
 				render : function(data) {
 					return getLinkOnClick(data.identifier, data);
 				}
-- 
GitLab