Active
Project:
Views AJAX History
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2025 at 17:34 UTC
Updated:
12 Jan 2026 at 15:11 UTC
Jump to comment: Most recent
Now that #343535: Enable bookmarking of AJAX views has been committed, is this module still needed?
Clarify if the module is still needed for some features.
And maybe add an upgrade path to switch to the core implementation.
Comments
Comment #2
berdirIt is worth nothing that the core functionality and this module have a few fairly important differences, that confused us for quite some time when testing and comparing.
The most important one is that core replaces the current history state, while this module pushes new states. What this means in practice is that with core, you can reload the current filters, you can bookmark the current set of filters, you can click on a linked element and then use browser back. You can however NOT use browser back to go back to a previous filter. I'm not sure what's better.
Also, the core functionality is server side, it determines the URL and filters there, whereas this module I think mostly does it in JS. Both kind of conflict with #2823541: Table clicksort is lost when using views exposed filter & Pager exposed '#items'.
This module is also opt-in per view, while core is not configurable, it just always does it for all views.
We decided to remove views_ajax_history in or projects and stick to the replaceState approach used by core. Both together is pretty weird. If someone would want to use this in 11.3+, I think an event subscriber to remove the core command would be necessary, as documented hiere: #2870341: Change URL in browser with page parameter