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

Commit

Permalink
fix(files): use files.origin
Browse files Browse the repository at this point in the history
Closes #532
  • Loading branch information
Christine Yu committed Mar 13, 2015
1 parent 57c58dd commit 9da26db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/scripts/files/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ module ngApp.files {
"related_files.file_name",
"related_files.md5sum",
"annotations.annotation_id",
"tags"
"tags",
"origin"
]
});
}
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/files/templates/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h3 class="panel-title pull-left" data-translate>File Properties</h3>
</tr>
<tr>
<th scope="row" data-translate>File Origin</th>
<td>{{ ::fc.file.file_origin | humanify }}</td>
<td>{{ ::fc.file.origin | humanify }}</td>
</tr>
<tr>
<th scope="row" data-translate>Data format</th>
Expand Down
1 change: 1 addition & 0 deletions app/scripts/search/search.controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ module ngApp.search.controllers {
"archive.revision",
"access",
"state",
"origin",
"data_format",
"center.name"
]
Expand Down
3 changes: 2 additions & 1 deletion app/scripts/search/templates/search.files.facets.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
<terms data-name="files.data_subtype" data-title="Data Subtype" data-facet="sc.files.aggregations.data_subtype"></terms>
<terms data-name="files.experimental_strategy" data-title="Experimental Strategy" data-facet="sc.files.aggregations.experimental_strategy"></terms>
<terms data-name="files.data_format" data-title="Data Format" data-facet="sc.files.aggregations.data_format" data-collapsed="true"></terms>
<terms data-name="files.state" data-title="File Status" data-facet="sc.files.aggregations.state" data-collapsed="true"></terms>
<terms data-name="files.origin" data-title="File Origin" data-facet="sc.files.aggregations.origin" data-collapsed="true"></terms>
<terms data-name="files.platform" data-title="Platform" data-facet="sc.files.aggregations.platform" data-collapsed="true"></terms>
<terms data-name="files.archive.revision" data-title="Revision" data-facet="sc.files.aggregations['archive.revision']" data-collapsed="true"></terms>
<terms data-name="files.access" data-title="Access Level" data-facet="sc.files.aggregations.access" data-collapsed="true"></terms>
<terms data-name="files.center.name" data-title="Data Submitter" data-facet="sc.files.aggregations['center.name']" data-collapsed="true"></terms>
<terms data-name="files.state" data-title="File Status" data-facet="sc.files.aggregations.state" data-collapsed="true"></terms>

0 comments on commit 9da26db

Please sign in to comment.