Skip to content

Commit

Permalink
Merge pull request #20390 from akeneo/PIM-11354
Browse files Browse the repository at this point in the history
PIM-11354: Backport PIM-11345 into 7.0
  • Loading branch information
mmetayer authored Jan 29, 2024
2 parents a37922b + 1c6e869 commit 6faa3f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG-7.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 7.0.x

## Bug fixes

- PIM-11354 [Backport PIM-11345]: Fix views list when some views are filtered and total greater than 20

# 7.0.49 (2024-01-17)

# 7.0.48 (2024-01-15)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function indexAction(Request $request, string $alias): Response

$filteredViews = $this->datagridViewFilter->filterCollection($views, 'pim.internal_api.datagrid_view.view');

$moreResults = count($filteredViews) >= $options['limit'];
$moreResults = count($views) >= $options['limit'];

return new JsonResponse([
'results' => $this->normalizer->normalize($filteredViews, 'internal_api'),
Expand Down

0 comments on commit 6faa3f6

Please sign in to comment.