Skip to content

Commit

Permalink
Portal - fixed duplicate slash bug on data explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
rodsimpson committed Feb 11, 2015
1 parent a82f0fb commit da9f3c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portal/js/global/ug-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ AppServices.Services.factory('ug', function (configuration, $rootScope,utility,
} else {

var queryPath = data.path;
//remove preceeding slash
queryPath = queryPath.replace(/^\//, '');
self.getCollection('query', queryPath, null, 'order by modified DESC', null);

}
Expand Down

0 comments on commit da9f3c8

Please sign in to comment.