$.unique is not a function

Created on 15 January 2025, 3 months ago

When using facets in a view where ajax history is configured in Drupal 11. I'm getting the following error:
$.unique is not a function

$.unique is deprecated in 3.0 and Drupal 11 uses jquery 4.0

Simple fix is to replace the function with uniqueSort.

Attached a patch that fixes this issue.

πŸ› Bug report
Status

Active

Version

1.8

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands mike.vindicate

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024