Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat(annotations): add notes as hidden tbl field
Browse files Browse the repository at this point in the history
Closes #811
  • Loading branch information
Christine Yu committed May 22, 2015
1 parent 10c25ae commit a4c6409
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/scripts/annotations/annotations.table.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module ngApp.projects.models {

var AnnotationsTableModel:TableiciousConfig = {
title: "Annotations",
order: ['annotation_id', 'participant_id', 'project.program.name', 'project.project_id', 'entity_type', 'entity_id', 'entity_submitter_id', 'category', 'classification', 'created_datetime', 'creator', 'status'],
order: ['annotation_id', 'participant_id', 'project.program.name', 'project.project_id', 'entity_type', 'entity_id', 'entity_submitter_id', 'category', 'classification', 'created_datetime', 'creator', 'status', 'notes'],
headings: [{
displayName: "ID",
id: "annotation_id",
Expand Down Expand Up @@ -110,6 +110,12 @@ module ngApp.projects.models {
displayName: "Status",
id: "status",
sortable: true
},
{
displayName: "Notes",
id: "notes",
sortable: false,
hidden: true
}
],
fields: [
Expand All @@ -123,7 +129,8 @@ module ngApp.projects.models {
"entity_submitter_id",
"notes",
"classification",
"participant_id"
"participant_id",
"notes"
],
expand: [
"project"
Expand Down

0 comments on commit a4c6409

Please sign in to comment.