usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rockers...@apache.org
Subject [13/45] incubator-usergrid git commit: copy paste error added cursor instead of uuid for the ID of last record.
Date Wed, 12 Nov 2014 01:15:18 GMT
copy paste error added cursor instead of uuid for the ID of last record.


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

Branch: refs/heads/master
Commit: 96455ee63d4ce64f14f70a2e14a121bfc30de7c2
Parents: 5ba6f0b
Author: Jason Kristian <jasonk@apps4u.com.au>
Authored: Sun Oct 26 16:53:06 2014 +1000
Committer: Jason Kristian <jasonk@apps4u.com.au>
Committed: Sun Oct 26 16:53:06 2014 +1000

----------------------------------------------------------------------
 sdks/php5/apache-usergrid/src/Api/ResourceIterator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/96455ee6/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php b/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
index e26f38f..643d089 100644
--- a/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
+++ b/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
@@ -61,7 +61,7 @@ class ResourceIterator extends BaseIterator
 
         $lastItem = end($data);
 
-        $this->nextToken = $result['cursor'] ? $lastItem['cursor'] : false;
+        $this->nextToken = $result['cursor'] ? $lastItem['uuid'] : false;
 
         return $data;
     }


Mime
View raw message