Instantsearch.js: allItems template shouldn't be available in infiniteHits

Created on 31 Oct 2017  路  3Comments  路  Source: algolia/instantsearch.js

Hits allows for the allItems template which allows for greater customization of the templates, for example inside tables and so forth...

When the allItems template is used with infiniteHits, its doesn't give any error, but instead of adding the newly loaded items, it replaces everything with the new page of results.

Widgets Bug

Most helpful comment

Oh that鈥檚 right, I鈥檓 sorry, I read this as a duplicate

All 3 comments

Thanks for making an issue, feel free to read more in #2519

duplicate of #2519

When the allItems template is used with infiniteHits, its doesn't give any error, but instead of adding the newly loaded items, it replaces everything with the new page of results.

The fact that you can use the allItems is a bug :/ https://community.algolia.com/instantsearch.js/v2/widgets/infiniteHits.html#struct-InfiniteHitsTemplates

Oh that鈥檚 right, I鈥檓 sorry, I read this as a duplicate

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bobylito picture bobylito  路  3Comments

proudlygeek picture proudlygeek  路  4Comments

samouss picture samouss  路  3Comments

egyprotech picture egyprotech  路  3Comments

ChristopherDosin picture ChristopherDosin  路  4Comments