Url path repeating and /views/ajax appearing in url

Created on 4 February 2025, 2 months ago

Problem/Motivation

This is being caused by using Url::fromRoute method.

Steps to reproduce

Hit the pager, and you will see the current path repeated, then it will be replaced with /views/ajax when further sets are returned.

Proposed resolution

I think it would be better to use the Url::fromUserInput method and have the first argument passed to the method be '?'
This will ensure a clean "page" param / prevent the path from being included in params.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States EthanT Sarasota, Florida

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