$(...).once is not a function

Created on 22 May 2024, 11 months ago

Problem/Motivation

$(...).once is not a function error when client side filtering an ajax enabled view.
querystring does not update to include the search query.

Steps to reproduce

Enable and use search filtering

Proposed resolution

views_ajax_history/js/views_ajax_history.js
42: var $body = $('body').once('views-ajax-history-first-page-load');
This requires updating to use the D10 version of once(), alas I am not sure how to do this.

🐛 Bug report
Status

Closed: works as designed

Version

1.7

Component

Code

Created by

🇬🇧United Kingdom ice70

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024