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/27 18:43:10 UTC

git commit: fix get notification receipts again

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o a200f45db -> 38eb9e4b8


fix get notification receipts again


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

Branch: refs/heads/two-dot-o
Commit: 38eb9e4b8acd32380f3c0f3ea5923498a5b5f010
Parents: a200f45
Author: Shawn Feldman <sf...@apache.org>
Authored: Sat Sep 27 10:42:58 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Sat Sep 27 10:42:58 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/38eb9e4b/portal/js/global/ug-service.js
----------------------------------------------------------------------
diff --git a/portal/js/global/ug-service.js b/portal/js/global/ug-service.js
index db2bfe9..0f671ff 100644
--- a/portal/js/global/ug-service.js
+++ b/portal/js/global/ug-service.js
@@ -551,7 +551,8 @@ 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;
@@ -1369,4 +1370,4 @@ AppServices.Services.factory('ug', function(configuration, $rootScope, utility,
 
     }
   }
-});
+});
\ No newline at end of file