Skip default argument for view URL does not work and never has so it can be removed

Created on 25 November 2010, almost 14 years ago
Updated 30 May 2024, 4 months ago

Problem/Motivation

A setting for default_argument_skip_url was added to D7, but has never worked in D8. We should remove this setting since it has never worked, was only used in edge cases in D7 and the current description and title make it unclear to most users what the purpose of this setting is.

Steps to reproduce

Proposed resolution

Remove the setting.

Remaining tasks

User interface changes

Unclear and broken setting is removed from the UI

API changes

Data model changes

Release notes snippet

Original report

I'm using a View with 2 arguments: one passed on the URL and the second is computed. When I attach a feed to this view, the feed URL contains those 2 arguments. What I really need is that the feed URL only contains the explicit argument, not the computed one.

The patch here modifies view::get_url to only include arguments that were passed on the URL. To detect them, it sets a new attribute in the argument handler called is_default during view::_build_arguments.

๐Ÿ“Œ Task
Status

Fixed

Version

11.0 ๐Ÿ”ฅ

Component
Viewsย  โ†’

Last updated 30 minutes ago

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada infojunkie Vancouver

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024