collective / collective/collective.fieldcollapsing
Pagination breaks when collapsing
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
This may be a feature that needs to be developed, but I would expect that when collapsing fields we would also need to reset the pagination so that the same number of results are shown on each page, and that they follow on logically.
It seems that at present, each page of the original collection is collapsed so that you don't see duplicates on that particular page. This has the side effect of repeating results across pages.
# Example
I have a collection that displays pages in particular directory tree. There are 6 sub-page across 3 folders.


If we collapse on the parent, the collection shows:


So instead of the expected 3 results on a single page, there are 4 results across the original pages.
So each page is being collapsed but the pagination is not being reset.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.