Views infinite scroll is not working properly with facets

Created on 7 May 2019, about 5 years ago
Updated 29 September 2023, 9 months ago

Problem/Motivation

- Setup facets filters for an ajax view
- Make sure that one facet holds more results than infinite scroll displays without loading more items
- Select that facet
- Let infinite scroll load more items
- See that the facet filter selection is not respected and all results of the view are loaded

Additionally, visiting the facet selection by direct link we are missing images, though that might be more difficult to reproduce since we have a more complicated sapi/facet integration.

This is likely a facets issue, so I linked it from 🌱 [META] Overview of Facets + Ajax issues Active . If it is we might want to move it the the facets issue queue.

Proposed resolution

- Sort out architectural facet/ajax issues
- or ...?

Original report by anirban.dev96@gmail.com

I am facing one issue , when the facet element count is more than items per page in automatic scroll its taking all the items for the view irrespective of the facet selected. For example I have kept items per page as 8 and one facet is having 12 items. After selecting on the facet first 8 items are showing correctly from the selected facet. But if I scroll down its showing all the items for the view irrespective of the facet selected. Any help is highly appreciated.Thanks

🐛 Bug report
Status

Closed: works as designed

Version

1.6

Component

Code

Created by

🇮🇳India adebdrupal Bengaluru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024