Skip to content

Category Listing uses catalog search tables #883

@tzyganu

Description

@tzyganu

Is this a bug or a feature?
I'm running the beta2 with sample data.
If I clear the table catalogsearch_fulltext then I get no products while navigating through the top categories.

After some digging I found that while viewing a category page, this gets executed Magento\CatalogSearch\Model\Resource\Fulltext\Collection:_renderFiltersBefore

Also because of this method, when applying custom filters to the product collection (via custom code, not via layered nav) the filters are applied but the total number of records is wrong because of this line $this->_totalRecords = count($ids) - 1;. (This may be my fault, I may be doing it wrong, but still...why use catalogsearch collections in catalog).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions