usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [39/68] [abbrv] incubator-usergrid git commit: Portal - fixed duplicate slash bug on data explorer
Date Fri, 17 Apr 2015 22:47:44 GMT
Portal - fixed duplicate slash bug on data explorer


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/da9f3c8b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/da9f3c8b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/da9f3c8b

Branch: refs/heads/two-dot-o-dev
Commit: da9f3c8bf0804c3aa43fe0b8fcdc568727a416f3
Parents: a82f0fb
Author: Rod Simpson <rod@apigee.com>
Authored: Tue Feb 10 18:05:21 2015 -0700
Committer: Rod Simpson <rod@apigee.com>
Committed: Tue Feb 10 18:05:21 2015 -0700

----------------------------------------------------------------------
 portal/js/global/ug-service.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/da9f3c8b/portal/js/global/ug-service.js
----------------------------------------------------------------------
diff --git a/portal/js/global/ug-service.js b/portal/js/global/ug-service.js
index 8f40459..9eed13a 100644
--- a/portal/js/global/ug-service.js
+++ b/portal/js/global/ug-service.js
@@ -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);
 
         }


Mime
View raw message