Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem:
When enabling "Ajax" for the Glossary view, it doesn't affect the "letter navigation", making a page refresh every time a letter is clicked. Note that Ajax works for pagination and exposed filters.
Steps to reproduce:
- Add some content to the site
- Enable Glossary view
- Enable Ajax view and save
- Navigate on the glossary
Comments
Comment #2
LendudeViews is in drupal core now, moving to the right queue
Comment #3
tetranz CreditAttribution: tetranz at Third and Grove commentedI tried this and it seems to work correctly for me. Clicking on a letter causes the Ajax spinner to appear briefly and then new content without a page refresh.
Comment #7
joekersI'm having the same issue - I've set up a very basic view but the glossary links always navigate away from the page rather than use AJAX.
I've noticed in D7 the links have the class "views-ajax-processed-processed" but these aren't set on the links in D8 so I'm not sure if this could be the cause of the issue?
Comment #10
yivanov CreditAttribution: yivanov commentedI had the same issues and the problem was that I used stable9 theme as a base, which has some classes missing and they are needed for the ajax to work. See my comment here - https://www.drupal.org/project/drupal/issues/3060192#comment-14300795
Comment #11
kostyashupenkoSee this comment https://www.drupal.org/project/drupal/issues/3060192#comment-14301443
Comment #15
borisson_I think this is a duplicate of #3060192: Some of views ajax not working on stable theme.?
The status also shouldn't have been needs review, but should be active. Needs review is for when there is a patch, text or proposal to review.
Comment #17
smustgrave CreditAttribution: smustgrave at Mobomo commentedAgree with #15