Skip to content

Commit

Permalink
Do not use removed criterion property on Query object
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 10, 2015
1 parent 3330b07 commit ae7d2c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Repository/TagsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function getRelatedContent(Tag $tag, $offset = 0, $limit = -1)
array(
'offset' => $offset,
'limit' => $limit > 0 ? $limit : PHP_INT_MAX,
'criterion' => new ContentId($relatedContentIds),
'filter' => new ContentId($relatedContentIds),
)
)
);
Expand Down Expand Up @@ -423,7 +423,7 @@ public function getRelatedContentCount(Tag $tag)
new Query(
array(
'limit' => 0,
'criterion' => new ContentId($relatedContentIds),
'filter' => new ContentId($relatedContentIds),
)
)
);
Expand Down
5 changes: 5 additions & 0 deletions Resources/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Netgen Tags Bundle changelog
============================

2.0.3 (10.09.2015)
------------------

* Do not use removed criterion property on Query object

2.0.2 (08.09.2015)
------------------

Expand Down

0 comments on commit ae7d2c9

Please sign in to comment.