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

BIS-659 / SP-1195 : ELN UI : Sort Samples table by column contents clicking on the header

SVN: 31157
parent da2b159f
No related branches found
No related tags found
No related merge requests found
...@@ -263,6 +263,9 @@ function MainController(profile) { ...@@ -263,6 +263,9 @@ function MainController(profile) {
this._showViewSamplePageFromPermId = function(permId) { this._showViewSamplePageFromPermId = function(permId) {
var localInstance = this; var localInstance = this;
this.serverFacade.searchWithUniqueId(permId, function(data) { this.serverFacade.searchWithUniqueId(permId, function(data) {
if(!data[0]) {
window.alert("The item is no longer available, refresh the page, if the problem persists tell your admin that the Lucene index is probably corrupted.");
}
//Update menu //Update menu
var breadCrumbPage = new BreadCrumbPage('view-sample', "showViewSamplePageFromPermId", data[0].permId, 'View '+data[0].code); var breadCrumbPage = new BreadCrumbPage('view-sample', "showViewSamplePageFromPermId", data[0].permId, 'View '+data[0].code);
localInstance.navigationBar.updateBreadCrumbPage(breadCrumbPage); localInstance.navigationBar.updateBreadCrumbPage(breadCrumbPage);
......
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