Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1622 from alexispeter/mongo-pagingSource-cacheKey
Browse files Browse the repository at this point in the history
include aggregation in cachekey-base for CM_PagingSource_MongoDb
  • Loading branch information
alexispeter committed Feb 2, 2015
2 parents 7101119 + 6446961 commit a87d308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/CM/PagingSource/MongoDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function getItems($offset = null, $count = null) {
}

protected function _cacheKeyBase() {
return array($this->_collection, $this->_criteria, $this->_projection);
return array($this->_collection, $this->_criteria, $this->_projection, $this->_aggregation);
}

public function getStalenessChance() {
Expand Down

0 comments on commit a87d308

Please sign in to comment.