Score:0

trigger('RefreshView') problems with pagination

gg flag

Colleagues, can you please advise: there is a views with enabled ajax and pagination, there is a form on the page (also ajax, but not views), which makes changes to the displayed views values. To update the views with the values after the form's ajax processing, I use $(".view-name").trigger('RefreshView'); Everything works fine, but there's a nuance - pagination, specifically, no matter which page we were on, Refresh always redirects to the first page. Any thoughts on where to look for a solution?

Score:0
pl flag

This is a long time bug in views. I remember I just had a lot of trouble with it on a web site years ago. Take a look at this: https://www.drupal.org/project/drupal/issues/3100826

Mayk RE avatar
gg flag
Thank you for your reply! Looked at the material on the link. there is another problem.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.