usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [08/35] git commit: fix get notification receipts again
Date Wed, 01 Oct 2014 14:51:44 GMT
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-rebuildable-index
Commit: 38eb9e4b8acd32380f3c0f3ea5923498a5b5f010
Parents: a200f45
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Sat Sep 27 10:42:58 2014 -0600
Committer: Shawn Feldman <sfeldman@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


Mime
View raw message