Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Views AJAX History 8.x-1.9 brings fixes to browser history, URL handling, and exposed filters, along with support for independent pagination across multiple views on the same page.
Back and forward navigation now works after a page reload and correctly restores checkbox selections. URL handling fixes address special characters, double encoding, anchor links, and excluded query parameters. Search API facet reset behaviour is also restored, while respecting the “Preserve facets while using filters” setting.
This release requires Drupal 10.1 or later, drops support for Drupal 8 and 9, and includes Drupal 12 compatibility fixes. It also integrates with Drupal 11.3’s browser URL updates, cleans up Views configuration on uninstall, and adds automated test coverage and continuous integration.
Thank you to everyone who tested the release candidate.
Contributors (39)
andybroomfield, arunkumark, ayrmax, butlerbryanc, chiril.ungureanu, contact@ronaldsp.be, danielwirz, dejan0, duwid, EthanT, eugene.brit, foxy-vikvik, geophysicist, gugalamaciek, guillaumepacilly, i-trokhanenko, ion.macaria, jjcarrion, jmester13, joelpittet, karengrey, khiminrm, ksemihin, luksak, marios anagnostopoulos, michael.acampora, nace_fr, niharika.s, nikhilesh gupta, rajdeep0826, ressa, rp7, scott_euser, sdstyles, sonfd, tjmoyer, tlwatson, Victonator, VitaliyB98
Changelog
Issues: 26 issues resolved.
Changes since 8.x-1.8, released in 8.x-1.9-rc1 (compare):
Bug
- #3499860: $.unique is not a function
- #3512261 Error when filter's value contains %
- #3514479 name attribute on <div> elements is not...
- #3574963: Exclude args apply via js
- #3613938: cleanURL() encodes spaces as %20 while form submits use +, so the URL flip-flops
- #3499873: URL gets updated with base path when using facets
- #3015301: Unable to combine with anchor links
- #3207011: Prevent loadView from firing on hashchange
- #3216707: Back button unchecks previously selected checkboxes
- #3221897: Maximum call stack size exceeded
- #3599790: beforeSubmit misses form-associated inputs outside the form element
- #3157331: Remove cleanUrl 'q' param since that is not how clean URLs are done since change record 1659580
- #3623095: cleanURL() double-encodes already-encoded values
- #3283764: Restore default facets reset behavior on view expose filter change
- #3090512: Views ajax history broken after page reload
Feature
- #3274286: Support pagination for multiple views per page
Misc
- Add + sign test coverage
Support
- #3374112: Remove views_ajax_history display_extender plugin from view configuration on uninstall
Task
- #3547650 Add .gitlab-ci.yml to run gitlab pipelines
- #3547913: Introduce automated tests
- #3594117: Expand AJAX history test coverage (follow-up to #3547913)
- #3594139: Add Functional JS tests to cover the .js file, resolve existing cspell and phpcs test coverage warnings
- #3595499: Remove core setBrowserUrl command when Views Ajax History handles the View
- #3604670: Drupal 12 compatibility fixes for Views Ajax History
- #3604670: Drupal 12 compatibility fixes for test module
- #3386120: Improve module README
Changes since 8.x-1.9-rc1 (compare):
Bug
- #3623196: Query params named like Views AJAX keys override the view's display and args
Task
- #3623195: Fix eslint issues