You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/09/22 22:38:16 UTC

git commit: changing receipts query to use notification id

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o 7c637952f -> 2703af757


changing receipts query to use notification id


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

Branch: refs/heads/two-dot-o
Commit: 2703af7573c9d945118d186589c3454487b18207
Parents: 7c63795
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Sep 22 14:38:02 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Sep 22 14:38:02 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/2703af75/portal/js/global/ug-service.js
----------------------------------------------------------------------
diff --git a/portal/js/global/ug-service.js b/portal/js/global/ug-service.js
index 1822cf9..05d69e4 100644
--- a/portal/js/global/ug-service.js
+++ b/portal/js/global/ug-service.js
@@ -480,7 +480,7 @@ AppServices.Services.factory('ug', function (configuration, $rootScope,utility,
       });
     },
     getNotificationReceipts: function (uuid) {
-      this.getCollection('receipts', 'notifications/'+uuid+'/receipts');
+      this.getCollection('receipts', 'receipts','created desc','notificationUUID='+uuid);
       var self = this;
       $rootScope.$on('receipts-received', function(event, receipts) {
         self.receiptsCollection = receipts;