- Merge request !2refactor: use core pager element and entity query for fetching filtered results → (Merged) created by wotnak
Currently the module implements a custom pager that has some problems. When trying to go to the second page, DivisionByZeroError error is thrown.
`DivisionByZeroError: Division by zero in Drupal\paragraphs_list_filter\Entity\ListBuilder\ParagraphsListFilterBuilder->renderPager() (line 99 of modules/contrib/paragraphs_list_filter/src/Entity/ListBuilder/ParagraphsListFilterBuilder.php).
Additionally, filter by id also doesn't work. When selected, many warnings about missing array keys are shown, but no results.
Warning: Undefined array key "id" in Drupal\paragraphs_list_filter\Entity\ListBuilder\ParagraphsListFilterBuilder->load() (line 68 of modules/contrib/paragraphs_list_filter/src/Entity/ListBuilder/ParagraphsListFilterBuilder.php).
Refactor module to use standard core pager element and entity query for fetching filtered results.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.