Pager

Pager component

https://theme.mantra.network/ui-components/mantra_starter/pager

Added lots of options like configurable separators, and incorporated features from these modules:

https://www.drupal.org/project/dc_pager

Improvements

  1. Use page numbers for first and last items.
  2. Move previous/next links outside of first/last.

https://www.drupal.org/project/views_pager_mini_count

Improvements

  1. Choose page count, result count, or both.
  2. Option to tap to switch between.

TODO

Incorporate:

https://www.drupal.org/project/dropdown_pager

Configuration

  1. Switch to Mantra pager.

Count query

The full pager adds a count query to get the number of results/pages.

In some cases, like with many results, relationships, or uncached content, this could impact performance.

Examples

https://www.retrograde.bike/admin/content

Modules

https://www.drupal.org/project/responsive_views_pager

Issues

View on Drupal.org #3553713Switching views pager from default mini to full ignores full's default prev/next link text Status: Active

View on Drupal.org #3348552Pager template fails accessibility tests for Ellipsis ("...") Status: Reviewed & tested by the community

Resources

https://www.andrewcoyle.com/blog/design-better-pagination

https://contrib.drupalarchitect.info/project/mantra-theme/task/422-inve…