Skip to content
Snippets Groups Projects
Commit 3fe51414 authored by juanf's avatar juanf
Browse files

SSDM-3357 : Links on names, and skip internal properties.

SVN: 35936
parent d5dbb644
No related branches found
No related tags found
No related merge requests found
...@@ -387,6 +387,14 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) { ...@@ -387,6 +387,14 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) {
property : 'entityType', property : 'entityType',
isExportable: true, isExportable: true,
sortable : true sortable : true
}, {
label : 'Name',
property : 'NAME',
isExportable: true,
sortable : true,
render : function(data) {
return getLinkOnClick(data.NAME, data);
}
}, { }, {
label : 'Code', label : 'Code',
property : 'code', property : 'code',
...@@ -463,6 +471,11 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) { ...@@ -463,6 +471,11 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) {
//2. Get columns //2. Get columns
var propertyColumnsToSort = []; var propertyColumnsToSort = [];
for(var propertyCode in foundPropertyCodes) { for(var propertyCode in foundPropertyCodes) {
var propertiesToSkip = ["NAME", "XMLCOMMENTS", "ANNOTATIONS_STATE"];
if($.inArray(propertyCode, propertiesToSkip) !== -1) {
continue;
}
propertyColumnsToSort.push({ propertyColumnsToSort.push({
label : profile.getPropertyType(propertyCode).label, label : profile.getPropertyType(propertyCode).label,
property : propertyCode, property : propertyCode,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment