Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
3fe51414
Commit
3fe51414
authored
9 years ago
by
juanf
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-3357 : Links on names, and skip internal properties.
SVN: 35936
parent
d5dbb644
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
+13
-0
13 additions, 0 deletions
...n-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
with
13 additions
and
0 deletions
plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js
+
13
−
0
View file @
3fe51414
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment