Problem/Motivation

When using AJAX-enabled views, all view elements should be operating using AJAX, including the pager. Views rely on 'js-pager__items' class set on the <UL> element to attach necessary event handler to the pager. The class is missing from the USWDS pager template. This also causes exposed filter to not reset pager when filters are updated.

Steps to reproduce

- create a view, enable AJAX, enable page
- observe pager reloading the page vs using AJAX to navigate between pages

Proposed resolution

Add 'js-pager__items' class on the <UL> to the pager template

CommentFileSizeAuthor
#2 uwdws-missing_pager_classes-3279249-1.patch676 byteseuk

Comments

euk created an issue. See original summary.

euk’s picture

StatusFileSize
new676 bytes

Apparently this was already fixed in the source under tag 2.4.1.
Leaving a patch here for others who would looks for the solution.

euk’s picture

Status: Active » Needs review
jrglasgow’s picture

Status: Needs review » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.