Skip to content

Commit f8c75a8

Browse files
isxamnikshostko
authored andcommitted
MAGETWO-67574: [Catalog] Denied category is visible on SF
- Fix search results size
1 parent 0690ed4 commit f8c75a8

File tree

1 file changed

+0
-2
lines changed
  • app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext

1 file changed

+0
-2
lines changed

app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,6 @@ protected function _renderFiltersBefore()
362362
[]
363363
);
364364

365-
$this->_totalRecords = $this->searchResult->getTotalCount();
366-
367365
if ($this->order && 'relevance' === $this->order['field']) {
368366
$this->getSelect()->order('search_result.'. TemporaryStorage::FIELD_SCORE . ' ' . $this->order['dir']);
369367
}

0 commit comments

Comments
 (0)